pass: move from module to user config
This commit is contained in:
parent
adb2cbc4ca
commit
f09457f6fc
@ -29,7 +29,6 @@
|
|||||||
vector.enable = true;
|
vector.enable = true;
|
||||||
};
|
};
|
||||||
libreoffice.enable = true;
|
libreoffice.enable = true;
|
||||||
pass.enable = true;
|
|
||||||
qbittorrent.enable = true;
|
qbittorrent.enable = true;
|
||||||
thunderbird.enable = true;
|
thunderbird.enable = true;
|
||||||
};
|
};
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
modules = {
|
modules = {
|
||||||
programs = {
|
programs = {
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
pass.enable = true;
|
|
||||||
qbittorrent.enable = true;
|
qbittorrent.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
modules = {
|
modules = {
|
||||||
programs = {
|
programs = {
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
pass.enable = true;
|
|
||||||
qbittorrent.enable = true;
|
qbittorrent.enable = true;
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
|
@ -51,7 +51,6 @@
|
|||||||
modules = {
|
modules = {
|
||||||
programs = {
|
programs = {
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
pass.enable = true;
|
|
||||||
recording = {
|
recording = {
|
||||||
audio.enable = true;
|
audio.enable = true;
|
||||||
};
|
};
|
||||||
|
@ -69,7 +69,6 @@
|
|||||||
};
|
};
|
||||||
libreoffice.enable = true;
|
libreoffice.enable = true;
|
||||||
lutris.enable = true;
|
lutris.enable = true;
|
||||||
pass.enable = true;
|
|
||||||
qbittorrent.enable = true;
|
qbittorrent.enable = true;
|
||||||
recording = {
|
recording = {
|
||||||
audio.enable = true;
|
audio.enable = true;
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
./programs/graphics.nix
|
./programs/graphics.nix
|
||||||
./programs/libreoffice.nix
|
./programs/libreoffice.nix
|
||||||
./programs/lutris.nix
|
./programs/lutris.nix
|
||||||
./programs/pass.nix
|
|
||||||
./programs/qbittorrent.nix
|
./programs/qbittorrent.nix
|
||||||
./programs/recording.nix
|
./programs/recording.nix
|
||||||
./programs/slack.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 ]);
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
@ -34,6 +34,7 @@ in
|
|||||||
./git.nix
|
./git.nix
|
||||||
./gpg.nix
|
./gpg.nix
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
|
./pass.nix
|
||||||
./shell.nix
|
./shell.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
11
users/jordan/pass.nix
Normal file
11
users/jordan/pass.nix
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.programs.password-store = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user