add keyring

This commit is contained in:
Sakooooo 2024-01-29 16:51:52 +04:00
parent 605ced9a67
commit 70b54b19bf
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 13 additions and 7 deletions

View file

@ -1,9 +1,14 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.apps.nextcloud;
in
{ {
outputs,
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.modules.desktop.apps.nextcloud;
in {
options.modules.desktop.apps.nextcloud = { options.modules.desktop.apps.nextcloud = {
enable = mkEnableOption false; enable = mkEnableOption false;
}; };
@ -12,6 +17,5 @@ in
users.users.sako.packages = with pkgs; [ users.users.sako.packages = with pkgs; [
nextcloud-client nextcloud-client
]; ];
}; };
} }

View file

@ -18,10 +18,12 @@ in {
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
# this is needed for gtk configuration to work # this is needed for gtk configuration to work
programs.dconf.enable = true; programs.dconf.enable = true;
# keyring
services.gnome3.gnome-keyring.enable = true;
services.xserver = { services.xserver = {
enable = true; enable = true;
windowManager = { windowManager = {