about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-05-18 23:21:44 +0300
committerVika <vika@fireburn.ru>2024-05-18 23:21:44 +0300
commit8fd75d6dc74db029ddfdb64dedcc2779f0f82455 (patch)
tree84a462218f2f0e6c5499f88441519e6cd554fee3
parent596c64818f6cdb0567c30a599861f74ee0898cd9 (diff)
downloadkittybox-8fd75d6dc74db029ddfdb64dedcc2779f0f82455.tar.zst
configuration.nix: don't rely on `config.nixpkgs`
-rw-r--r--configuration.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/configuration.nix b/configuration.nix
index a47d7db..5495558 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -15,7 +15,7 @@ in {
       };
       package = mkOption {
         type = types.package;
-        default = kittybox.packages.${config.nixpkgs.localSystem.system}.kittybox;
+        default = kittybox.packages.${pkgs.stdenv.hostPlatform.system}.kittybox;
         defaultText = "<kittybox package from the upstream flake>";
         description = "Which Kittybox derivation to use.";
       };