diff --git a/flake.nix b/flake.nix index a5574aff..1e423e6b 100644 --- a/flake.nix +++ b/flake.nix @@ -37,6 +37,8 @@ inherit (nixpkgs) lib; defaultConfig = { + headless = false; + home = true; }; makeHost = host: let @@ -51,7 +53,8 @@ ./hosts/${host}/hardware-configuration.nix ./system {networking.hostName = host;} - ]; + ] ++ lib.optionals config.headless [ ./headless ] + ++ lib.optionals config.desktop [ ./home ]; }; in { nixosConfigurations = lib.pipe ./hosts [ diff --git a/headless/default.nix b/headless/default.nix new file mode 100644 index 00000000..64629674 --- /dev/null +++ b/headless/default.nix @@ -0,0 +1 @@ +{...}: {} diff --git a/home/default.nix b/home/default.nix new file mode 100644 index 00000000..64629674 --- /dev/null +++ b/home/default.nix @@ -0,0 +1 @@ +{...}: {} diff --git a/result b/result new file mode 120000 index 00000000..72e85af8 --- /dev/null +++ b/result @@ -0,0 +1 @@ +/nix/store/7zqckfh65m2qmgygpvypxfxn2nywsgar-nixos-system-lilith-pc-25.05.20241126.af51545 \ No newline at end of file diff --git a/system/default.nix b/system/default.nix index 99a4a168..d97697aa 100644 --- a/system/default.nix +++ b/system/default.nix @@ -2,4 +2,6 @@ imports = [ ./boot.nix ]; + + # lib.mkForce }