[XMonad] Add flake for imalison-xmonad
This commit is contained in:
parent
8a3457a28c
commit
00d03e9774
26
dotfiles/config/xmonad/flake.nix
Normal file
26
dotfiles/config/xmonad/flake.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
inputs = {
|
||||
flake-utils.url = github:numtide/flake-utils;
|
||||
xmonad-contrib = {
|
||||
url = path:./xmonad-contrib;
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
xmonad = {
|
||||
url = path:./xmonad;
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
outputs = { self, flake-utils, nixpkgs, xmonad, xmonad-contrib }:
|
||||
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
|
||||
rec {
|
||||
devShell = pkgs.haskellPackages.shellFor {
|
||||
packages = p: [ p.imalison-xmonad ];
|
||||
};
|
||||
defaultPackage = pkgs.haskellPackages.imalison-xmonad;
|
||||
}) // { inherit overlay overlays; } ;
|
||||
}
|
Loading…
Reference in New Issue
Block a user