This commit is contained in:
parent
a3e4cd0e13
commit
6a12ea4b0e
8 changed files with 39 additions and 47 deletions
|
@ -11,7 +11,6 @@
|
|||
./nix-index.nix
|
||||
./nixpad
|
||||
./openssh.nix
|
||||
./password-store.nix
|
||||
./pipewire.nix
|
||||
./podman.nix
|
||||
./st.nix
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.cli.password-store;
|
||||
in
|
||||
{
|
||||
options.features.cli.password-store = {
|
||||
enable = mkEnableOption "Enable pass";
|
||||
|
||||
extensions = mkOption {
|
||||
default = [ ];
|
||||
type = types.listOf types.package;
|
||||
description = "pass extensions to install.";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
(pass.withExtensions (e: with e; cfg.extensions))
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue