- Inline rofi greenclip command in xmonad.hs instead of calling script - Update xmonad flake.nix to use github sources instead of path: (path: inputs don't work with git submodules in nix flakes) - Update flake.lock with new inputs Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
32 lines
1.1 KiB
Nix
32 lines
1.1 KiB
Nix
{
|
|
inputs = {
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
git-ignore-nix.url = "github:hercules-ci/gitignore.nix";
|
|
xmonad = {
|
|
url = "github:xmonad/xmonad";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
xmonad-contrib = {
|
|
url = "github:IvanMalison/xmonad-contrib/withMyChanges";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.xmonad.follows = "xmonad";
|
|
};
|
|
};
|
|
outputs = { self, flake-utils, nixpkgs, xmonad, xmonad-contrib, git-ignore-nix }:
|
|
let
|
|
overlay = import ./overlay.nix;
|
|
overlays = [ overlay xmonad.overlay xmonad-contrib.overlay ];
|
|
in flake-utils.lib.eachDefaultSystem (system:
|
|
let pkgs = import nixpkgs { inherit system overlays; config.allowBroken = true; };
|
|
in
|
|
{
|
|
devShell = pkgs.haskellPackages.shellFor {
|
|
packages = p: [ p.imalison-xmonad p.xmonad-contrib ];
|
|
buildInputs = with pkgs.haskellPackages; [
|
|
cabal-install haskell-language-server hlint ghcid ormolu implicit-hie
|
|
];
|
|
};
|
|
defaultPackage = pkgs.haskellPackages.imalison-xmonad;
|
|
}) // { inherit overlay overlays; } ;
|
|
}
|