aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2025-11-06 10:25:13 -0800
committerMark Nipper <nipsy@bitgnome.net>2025-11-06 10:25:13 -0800
commite4b305b97e1aadd3741f4d6deed56fbec5621199 (patch)
tree81bb00928f55b586e9d7320c52df8fcd3f8489f0
parent401d83a78278c2c15a2c33f21b5a6ce3a7acfd6f (diff)
downloadnix-e4b305b97e1aadd3741f4d6deed56fbec5621199.tar
nix-e4b305b97e1aadd3741f4d6deed56fbec5621199.tar.gz
nix-e4b305b97e1aadd3741f4d6deed56fbec5621199.tar.bz2
nix-e4b305b97e1aadd3741f4d6deed56fbec5621199.tar.lz
nix-e4b305b97e1aadd3741f4d6deed56fbec5621199.tar.xz
nix-e4b305b97e1aadd3741f4d6deed56fbec5621199.tar.zst
nix-e4b305b97e1aadd3741f4d6deed56fbec5621199.zip
Replace system references with nixpkgs.hostPlatform
-rw-r--r--flake.nix4
-rw-r--r--hosts/arrakis/services.nix3
2 files changed, 3 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index f7f9a66..c997694 100644
--- a/flake.nix
+++ b/flake.nix
@@ -293,8 +293,8 @@
root.openssh.authorizedKeys.keys = [ (builtins.readFile ./hosts/common/users/nipsy/keys/id_arrakis.pub) ];
};
})
+ { nixpkgs.hostPlatform = "x86_64-linux"; }
];
- system = "x86_64-linux";
};
kaitain = nixpkgs.lib.nixosSystem rec {
@@ -350,8 +350,8 @@
root.openssh.authorizedKeys.keys = [ (builtins.readFile ./hosts/common/users/nipsy/keys/id_arrakis.pub) ];
};
})
+ { nixpkgs.hostPlatform = "x86_64-linux"; }
];
- system = "x86_64-linux";
};
richese = nixpkgs.lib.nixosSystem rec {
diff --git a/hosts/arrakis/services.nix b/hosts/arrakis/services.nix
index 57542d9..d758d34 100644
--- a/hosts/arrakis/services.nix
+++ b/hosts/arrakis/services.nix
@@ -85,8 +85,6 @@
nginx = let
sys = lib.nixosSystem {
- system = "x86_64-linux";
-
modules = [
({ config, pkgs, lib, modulesPath, ... }: {
imports = [
@@ -119,6 +117,7 @@
};
};
})
+ { nixpkgs.hostPlatform = "x86_64-linux"; }
];
};