From b7e5df26b5a77fdf90ef4d69f02b69ad94942070 Mon Sep 17 00:00:00 2001 From: Stefan Ellmauthaler Date: Mon, 27 Mar 2023 15:49:45 +0200 Subject: [PATCH] Add further Plasma options in config and user configuration --- modules/plasma.nix | 6 ++++++ users/ellmau/default.nix | 2 ++ users/ellmau/graphical.nix | 18 ++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 users/ellmau/graphical.nix diff --git a/modules/plasma.nix b/modules/plasma.nix index 9d6057c..b78f152 100644 --- a/modules/plasma.nix +++ b/modules/plasma.nix @@ -19,6 +19,12 @@ with lib; { desktopManager.plasma5.enable = true; }; + services.gnome3.gnome-keyring.enable = true; + security.pam.services.sddm = { + enableGnomeKeyring = true; + gnupg.enable = true; + }; + environment.systemPackages = with pkgs; [ firefox thunderbird diff --git a/users/ellmau/default.nix b/users/ellmau/default.nix index 7f9bf2d..fa1f818 100644 --- a/users/ellmau/default.nix +++ b/users/ellmau/default.nix @@ -19,6 +19,8 @@ ./sway.nix ./waybar.nix + + ./graphical.nix ]; services = { gnome-keyring = { diff --git a/users/ellmau/graphical.nix b/users/ellmau/graphical.nix new file mode 100644 index 0000000..a7d0aa9 --- /dev/null +++ b/users/ellmau/graphical.nix @@ -0,0 +1,18 @@ +{ + config, + pkgs, + lib, + ... +}: +with lib; { + config = let + cfg = nixosConfig.elss.graphical; + in + mkIf cfg.enable { + services = { + gtk.enable = true; + blueman-applet.enable = true; + home.file.".background-image".source = ../../common/wallpaper/nix-wallpaper-nineish-dark-gray.png; + }; + }; +}