From 36aa9a054e49041593b91412a6b8e42e515a2597 Mon Sep 17 00:00:00 2001 From: Frank LoTurco Date: Wed, 21 Oct 2026 10:05:14 -0400 Subject: [PATCH] features/sops: added sops feature --- features/sops.nix | 7 +++++++ hosts/shared/darwin.nix | 1 + hosts/shared/nixos-pc.nix | 1 + hosts/shared/nixos-server.nix | 1 + 4 files changed, 10 insertions(+) create mode 100644 features/sops.nix 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 ];