Adding gnome-keychain support
This commit is contained in:
parent
4e6b969cc7
commit
e5259868bd
|
@ -2,6 +2,7 @@
|
|||
let
|
||||
graphical = config.this.graphical;
|
||||
power = config.this.system.power;
|
||||
keyring = config.this.system.keyring;
|
||||
in with lib; {
|
||||
config = mkIf graphical.enable {
|
||||
services.gvfs.enable = true;
|
||||
|
@ -29,9 +30,9 @@ in with lib; {
|
|||
libgnome-keyring
|
||||
nautilus
|
||||
pomodoro
|
||||
seahorse
|
||||
sushi
|
||||
] ++ optionals (power.enable) [ gnome-power-manager ];
|
||||
] ++ optionals (power.enable) [ gnome-power-manager ]
|
||||
++ optionals (keyring.enable) [ seahorse ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
./flatpak.nix
|
||||
./fonts.nix
|
||||
./gtk.nix
|
||||
./keyring.nix
|
||||
./power.nix
|
||||
./xdg.nix
|
||||
./yubikey.nix
|
||||
|
|
13
modules/system/keyring.nix
Normal file
13
modules/system/keyring.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let cfg = config.this.system.keyring;
|
||||
in with lib; {
|
||||
options.this = {
|
||||
system.keyring.enable = mkOption {
|
||||
default = true;
|
||||
type = with types; bool;
|
||||
};
|
||||
};
|
||||
# options.this.system.keyring.enable = mkEnableOption "keyring";
|
||||
|
||||
config = mkIf cfg.enable { services.gnome.gnome-keyring.enable = true; };
|
||||
}
|
Reference in New Issue
Block a user