diff options
-rw-r--r-- | home/profiles/base/default.nix | 3 | ||||
-rw-r--r-- | home/profiles/security/default.nix | 18 |
2 files changed, 18 insertions, 3 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix index 1be9e21..dd49511 100644 --- a/home/profiles/base/default.nix +++ b/home/profiles/base/default.nix @@ -49,9 +49,6 @@ in pkgs.tree pkgs.neovim - pkgs.yubikey-manager - pkgs.age-plugin-yubikey - # Common build tools (pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default.override { extensions = [ "rust-src" ]; })) pkgs.go diff --git a/home/profiles/security/default.nix b/home/profiles/security/default.nix new file mode 100644 index 0000000..97bc0f3 --- /dev/null +++ b/home/profiles/security/default.nix @@ -0,0 +1,18 @@ +{ config, lib, pkgs, ... }: +let cfg = config.profiles.security; +in +{ + options.profiles.security = { + enable = lib.mkEnableOption + "Profile for security-related packages"; + }; + + config = lib.mkIf cfg.enable { + home.packages = [ + pkgs.yubikey-manager + pkgs.age-plugin-yubikey + + pkgs.keepassxc + ]; + }; +} |