Adding gnome-keychain support
This commit is contained in:
parent
4e6b969cc7
commit
e5259868bd
|
@ -2,6 +2,7 @@
|
||||||
let
|
let
|
||||||
graphical = config.this.graphical;
|
graphical = config.this.graphical;
|
||||||
power = config.this.system.power;
|
power = config.this.system.power;
|
||||||
|
keyring = config.this.system.keyring;
|
||||||
in with lib; {
|
in with lib; {
|
||||||
config = mkIf graphical.enable {
|
config = mkIf graphical.enable {
|
||||||
services.gvfs.enable = true;
|
services.gvfs.enable = true;
|
||||||
|
@ -29,9 +30,9 @@ in with lib; {
|
||||||
libgnome-keyring
|
libgnome-keyring
|
||||||
nautilus
|
nautilus
|
||||||
pomodoro
|
pomodoro
|
||||||
seahorse
|
|
||||||
sushi
|
sushi
|
||||||
] ++ optionals (power.enable) [ gnome-power-manager ];
|
] ++ optionals (power.enable) [ gnome-power-manager ]
|
||||||
|
++ optionals (keyring.enable) [ seahorse ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
./flatpak.nix
|
./flatpak.nix
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
./gtk.nix
|
./gtk.nix
|
||||||
|
./keyring.nix
|
||||||
./power.nix
|
./power.nix
|
||||||
./xdg.nix
|
./xdg.nix
|
||||||
./yubikey.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