diff --git a/features/sops.nix b/features/sops.nix new file mode 100644 index 0000000..ec0b39f --- /dev/null +++ b/features/sops.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: +{ + environment.systemPackages = with pkgs; [ + sops + age + ]; +} diff --git a/hosts/shared/darwin.nix b/hosts/shared/darwin.nix index 9acbf92..f440e1e 100644 --- a/hosts/shared/darwin.nix +++ b/hosts/shared/darwin.nix @@ -2,6 +2,7 @@ { imports = [ ./nix-package-manager.nix + ../../features/sops.nix ]; # Only use homebrew for casks. diff --git a/hosts/shared/nixos-pc.nix b/hosts/shared/nixos-pc.nix index 564e265..22500ad 100644 --- a/hosts/shared/nixos-pc.nix +++ b/hosts/shared/nixos-pc.nix @@ -14,6 +14,7 @@ ../../features/systemd-boot.nix ../../features/i18n.nix ../../features/sudo.nix + ../../features/sops.nix ./nix-package-manager.nix ]; diff --git a/hosts/shared/nixos-server.nix b/hosts/shared/nixos-server.nix index 59091c5..69089ad 100644 --- a/hosts/shared/nixos-server.nix +++ b/hosts/shared/nixos-server.nix @@ -12,6 +12,7 @@ ../../features/systemd-boot.nix ../../features/i18n.nix ../../features/sudo.nix + ../../features/sops.nix ./nix-package-manager.nix ];