give up :(
This commit is contained in:
parent
1e8a45546a
commit
1a047c2740
2 changed files with 6 additions and 10 deletions
|
@ -1,8 +1,7 @@
|
|||
{ wm ? null, ...}:
|
||||
input@{ wm ? null, ...}:
|
||||
with builtins;
|
||||
input //
|
||||
rec {
|
||||
wm = wm;
|
||||
|
||||
x11-wms = ["plasma" "xmonad" "i3"];
|
||||
wayland-wms = ["hyprland" "sway"];
|
||||
wms = x11-wms ++ wayland-wms;
|
||||
|
|
11
flake.nix
11
flake.nix
|
@ -8,19 +8,16 @@
|
|||
|
||||
outputs = inputs@{ self, nixpkgs, home-manager, flake-utils, ... }:
|
||||
let
|
||||
conf = (import ./build.conf.nix) {};
|
||||
# :(
|
||||
conf = (import ./build.conf.nix) { wm = "plasma"; };
|
||||
in
|
||||
{
|
||||
nixosConfigurations =
|
||||
flake-utils.lib.eachSystem conf.wms (wm:
|
||||
let
|
||||
conf = import (./build.conf.nix) { wm = wm; };
|
||||
in
|
||||
{
|
||||
nix = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
(./configuration.nix conf)
|
||||
((import ./configuration.nix) conf)
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
@ -29,6 +26,6 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue