diff --git a/home/hosts/hypnos.nix b/home/hosts/hypnos.nix index 6c9c48f..4774ead 100644 --- a/home/hosts/hypnos.nix +++ b/home/hosts/hypnos.nix @@ -55,6 +55,8 @@ nixpkgs-fmt nix-index nix-tree + sops + age ] ); } diff --git a/hosts/hypnos/configuration.nix b/hosts/hypnos/configuration.nix index 994c63c..6e015de 100644 --- a/hosts/hypnos/configuration.nix +++ b/hosts/hypnos/configuration.nix @@ -20,9 +20,20 @@ useGlobalPkgs = true; useUserPackages = true; backupFileExtension = "bak"; + sharedModules = [ + inputs.sops-nix.homeManagerModules.sops + ]; + extraSpecialArgs = { + lib = import ../../home/lib/origami404.nix { + hmSource = inputs.home-manager-darwin; + npLib = inputs.nixpkgs-darwin.lib; + }; + }; users.origami = import ../../home/hosts/hypnos.nix; }; + environment.systemPackages = with pkgs; [ home-manager ]; + nixpkgs.config.allowUnfreePredicate = _: true; system.stateVersion = 5;