summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix33
1 files changed, 26 insertions, 7 deletions
diff --git a/flake.nix b/flake.nix
index 682e2b0..973b4b3 100644
--- a/flake.nix
+++ b/flake.nix
@@ -42,32 +42,51 @@
inputs.sops-nix.nixosModules.sops
];
};
- test_vm = nixpkgs.lib.nixosSystem {
+ full-iso = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;
+ isoImage.squashfsCompression = "lz4";
+ isoImage.isoLabel = "NIX_WQ_ISO";
};
system = "x86_64-linux";
modules = [
./common.nix
- ./hosts/test_vm
- ./users/wilkuu.nix
+ ./hosts/full-iso
+ ./users/live-user.nix
inputs.home-manager.nixosModules.default
+ inputs.sops-nix.nixosModules.sops
];
};
- full-iso = nixpkgs.lib.nixosSystem {
+ vm-desktop = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;
- isoImage.squashfsCompression = "lz4";
- isoImage.isoLabel = "NIX_WQ_ISO";
};
system = "x86_64-linux";
modules = [
./common.nix
- ./hosts/full-iso
+ ./hosts/test_vm
./users/live-user.nix
inputs.home-manager.nixosModules.default
+ inputs.sops-nix.nixosModules.sops
];
};
+ vm-shell = nixpkgs.lib.nixosSystem {
+ specialArgs = {
+ inherit inputs;
+ };
+ system = "x86_64-linux";
+ modules = [
+ ./common.nix
+ ./hosts/test_vm
+ ./users/live-user.nix
+ ({lib, ...}: {
+ addons.desktop.hyprland.enable = lib.mkForce false;
+ addons.desktop.xfce.enable = lib.mkForce false;
+ })
+ inputs.home-manager.nixosModules.default
+ inputs.sops-nix.nixosModules.sops
+ ];
+ };
};
};
}