summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-06-03 04:38:13 +0200
committerRory& <root@rory.gay>2025-06-03 04:38:13 +0200
commit49859a39b0ca84f1aeee530700f48c0b99cae9e6 (patch)
treee1f8c6065bb5138311090a192ad15001c8322277 /flake.nix
parentFix nix module eval (diff)
downloadnodejs-final-assignment-49859a39b0ca84f1aeee530700f48c0b99cae9e6.tar.xz
Refer to system properly
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix

index a895d5b..5283bd6 100644 --- a/flake.nix +++ b/flake.nix
@@ -86,12 +86,12 @@ }; } )) // { - nixosModules.default = { config, lib, ...}: { + nixosModules.default = { pkgs, config, lib, ...}: { options.services.safensound = { enable = lib.mkEnableOption "Enable SafeNSound service"; package = lib.mkOption { type = lib.types.package; - default = self.packages.${lib.system}.default; + default = self.packages.${pkgs.stdenv.hostPlatform.system}.default; description = "The SafeNSound service package to run."; }; port = lib.mkOption {