pass: move from module to user config
This commit is contained in:
@ -8,7 +8,6 @@
|
||||
./programs/graphics.nix
|
||||
./programs/libreoffice.nix
|
||||
./programs/lutris.nix
|
||||
./programs/pass.nix
|
||||
./programs/qbittorrent.nix
|
||||
./programs/recording.nix
|
||||
./programs/slack.nix
|
||||
|
@ -1,25 +0,0 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.modules.programs.pass;
|
||||
in
|
||||
{
|
||||
options.modules.programs.pass = {
|
||||
enable = lib.mkOption {
|
||||
default = false;
|
||||
example = true;
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.programs.password-store = {
|
||||
enable = true;
|
||||
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user