summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorstuebinm2022-01-10 00:42:01 +0100
committerstuebinm2022-01-10 01:56:35 +0100
commit38ba8be512b8dbb8838fbca9865b2a8d24f6bee1 (patch)
tree87d7c07a54627b781531cda677d90c0fffdac077 /flake.nix
parentbe4ac10c641e39babc83db479c827b6dfb0af103 (diff)
add abbenay (desktop config)
Diffstat (limited to '')
-rw-r--r--flake.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index e86a636..af1560b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -30,15 +30,18 @@
outputs = { self, nixpkgs, ... }@inputs: {
nixosConfigurations =
- let mkConfig = config: nixpkgs.lib.nixosSystem {
+ let mkConfig = imports: config: nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
- modules = [ config ./common/default.nix ];
+ modules = [ config ] ++ imports;
specialArgs = { inherit inputs; };
};
+ mkServer = mkConfig [ ./common/headless.nix ];
+ mkDesktop = mkConfig [ ./common/desktop.nix ];
in {
- chaski = mkConfig ./hosts/chaski/configuration.nix;
- flora = mkConfig ./hosts/flora/configuration.nix;
+ chaski = mkServer ./hosts/chaski/configuration.nix;
+ flora = mkServer ./hosts/flora/configuration.nix;
+ abbenay = mkDesktop ./hosts/abbenay/configuration.nix;
};
};
}