summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index f88ead0..9d6d552 100644
--- a/flake.nix
+++ b/flake.nix
@@ -48,11 +48,11 @@
outputs = { self, nixpkgs, deploy-rs, ... }@inputs:
let
mkConfig = imports: config:
- nixpkgs.lib.nixosSystem {
+ nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
modules = [ config ] ++ imports;
- specialArgs = { inherit inputs; };
+ specialArgs = { inherit inputs system; };
};
mkServer = mkConfig [ ./common/headless.nix ];
mkDesktop = mkConfig [ ./common/desktop.nix ];