made x11 conditional
This commit is contained in:
parent
37eac1b4bb
commit
ada74f1c4e
4 changed files with 56 additions and 32 deletions
12
flake.nix
12
flake.nix
|
|
@ -17,8 +17,18 @@
|
|||
home-manager.nixosModules.home-manager
|
||||
];
|
||||
};
|
||||
laptop = nixpkgs.lib.nixosSystem {
|
||||
laptop-x11 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = let inputs.x11mode = true; in { inherit inputs; };
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./hardware_configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
];
|
||||
};
|
||||
laptop-wayland = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = let inputs.x11mode = false; in { inherit inputs; };
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./hardware_configuration.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue