diff options
| author | Mark Nipper <nipsy@bitgnome.net> | 2025-11-06 10:25:13 -0800 |
|---|---|---|
| committer | Mark Nipper <nipsy@bitgnome.net> | 2025-11-06 10:25:13 -0800 |
| commit | e4b305b97e1aadd3741f4d6deed56fbec5621199 (patch) | |
| tree | 81bb00928f55b586e9d7320c52df8fcd3f8489f0 | |
| parent | 401d83a78278c2c15a2c33f21b5a6ce3a7acfd6f (diff) | |
| download | nix-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.nix | 4 | ||||
| -rw-r--r-- | hosts/arrakis/services.nix | 3 |
2 files changed, 3 insertions, 4 deletions
@@ -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"; } ]; }; |
