diff options
| -rw-r--r-- | nix/hm-module.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nix/hm-module.nix b/nix/hm-module.nix index c510bfd..9538965 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -4,8 +4,10 @@ self: { lib, ... }: let - cli-default = self.inputs.caelestia-cli.packages.${pkgs.system}.default; - shell-default = self.packages.${pkgs.system}.with-cli; + inherit (pkgs.stdenv.hostPlatform) system; + + cli-default = self.inputs.caelestia-cli.packages.${system}.default; + shell-default = self.packages.${system}.with-cli; cfg = config.programs.caelestia; in { |