From 70b54b19bf2422c904494b1bc4e442801e84a119 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 29 Jan 2024 16:51:52 +0400 Subject: [PATCH] add keyring --- modules/desktop/apps/nextcloud/default.nix | 16 ++++++++++------ modules/desktop/bspwm/default.nix | 4 +++- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/modules/desktop/apps/nextcloud/default.nix b/modules/desktop/apps/nextcloud/default.nix index 10e7d9ab..d9dfc43e 100644 --- a/modules/desktop/apps/nextcloud/default.nix +++ b/modules/desktop/apps/nextcloud/default.nix @@ -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 = { enable = mkEnableOption false; }; @@ -12,6 +17,5 @@ in users.users.sako.packages = with pkgs; [ nextcloud-client ]; - }; } diff --git a/modules/desktop/bspwm/default.nix b/modules/desktop/bspwm/default.nix index 1c70ea24..c266a409 100644 --- a/modules/desktop/bspwm/default.nix +++ b/modules/desktop/bspwm/default.nix @@ -18,10 +18,12 @@ in { }; config = mkIf cfg.enable { - # this is needed for gtk configuration to work programs.dconf.enable = true; + # keyring + services.gnome3.gnome-keyring.enable = true; + services.xserver = { enable = true; windowManager = {