feat: gnome-keyring
This commit is contained in:
parent
c6a7cc9a3f
commit
54cac7ed48
5 changed files with 26 additions and 15 deletions
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./gnome-keyring.nix
|
||||
./swaybg.nix
|
||||
./swaync.nix
|
||||
];
|
||||
|
|
21
modules/home/services/gnome-keyring.nix
Normal file
21
modules/home/services/gnome-keyring.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
marleylib,
|
||||
config,
|
||||
osConfig,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (marleylib.module) mkEnableOption';
|
||||
|
||||
cfg = config.marleyos.services.gnome-keyring;
|
||||
osCfg = osConfig.marleyos.services.gnome-keyring;
|
||||
in {
|
||||
options.marleyos.services.gnome-keyring.enable =
|
||||
mkEnableOption' "gnome-keyring" osCfg.enable;
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.gnome-keyring = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -32,6 +32,7 @@ in {
|
|||
xwayland-satellite = enabled;
|
||||
};
|
||||
services = {
|
||||
gnome-keyring = enabled;
|
||||
swaybg = enabled;
|
||||
swaync = enabled;
|
||||
};
|
||||
|
|
|
@ -19,6 +19,9 @@ in {
|
|||
programs = {
|
||||
waybar = enabled;
|
||||
};
|
||||
services = {
|
||||
gnome-keyring = enabled;
|
||||
};
|
||||
};
|
||||
|
||||
programs.niri = {
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
cfg = config.marleyos.services.gnome-keyring;
|
||||
in {
|
||||
options.marleyos.services.gnome-keyring.enable = lib.mkEnableOption "gnome-keyring";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.gnome-keyring = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue