feat(home): rbw
This commit is contained in:
parent
17113e608c
commit
fc7e31558f
3 changed files with 24 additions and 8 deletions
|
@ -36,6 +36,7 @@ in
|
|||
man = enabled;
|
||||
ncmpcpp = enabled;
|
||||
neo = enabled;
|
||||
rbw = enabled;
|
||||
systemctl = enabled;
|
||||
};
|
||||
xorg = {
|
||||
|
|
23
modules/home/programs/rbw/default.nix
Normal file
23
modules/home/programs/rbw/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
namespace,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
inherit (lib.${namespace}) mkEnableModule;
|
||||
|
||||
cfg = config.${namespace}.programs.rbw;
|
||||
in
|
||||
{
|
||||
options = mkEnableModule "programs.rbw";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.rbw = {
|
||||
enable = true;
|
||||
|
||||
settings.email = "bitwarden@punkfairie.net";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{ _ }:
|
||||
{
|
||||
programs.rbw = {
|
||||
enable = true;
|
||||
|
||||
settings.email = "bitwarden@punkfairie.net";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue