From 469f57c2d8b83f862add3d8ab254736627a2982d Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Thu, 6 Jun 2024 09:43:48 +0200 Subject: [PATCH] Added nextcloud --- modules/home/programs/common.nix | 1 + modules/home/programs/nextcloud.nix | 8 ++++++++ modules/system/desktop/hyprland.nix | 4 ++++ modules/system/desktop/keyring.nix | 7 +++++++ 4 files changed, 20 insertions(+) create mode 100644 modules/home/programs/nextcloud.nix create mode 100644 modules/system/desktop/keyring.nix diff --git a/modules/home/programs/common.nix b/modules/home/programs/common.nix index 76f434d..0dba79a 100644 --- a/modules/home/programs/common.nix +++ b/modules/home/programs/common.nix @@ -6,6 +6,7 @@ ./helix.nix ./librewolf.nix ./shell.nix + ./nextcloud.nix ]; home.packages = with pkgs; [ diff --git a/modules/home/programs/nextcloud.nix b/modules/home/programs/nextcloud.nix new file mode 100644 index 0000000..af8e4de --- /dev/null +++ b/modules/home/programs/nextcloud.nix @@ -0,0 +1,8 @@ +{ ... }: + +{ + services.nextcloud-client = { + enable = true; + startInBackground = true; + }; +} diff --git a/modules/system/desktop/hyprland.nix b/modules/system/desktop/hyprland.nix index d1987b8..9fa0340 100644 --- a/modules/system/desktop/hyprland.nix +++ b/modules/system/desktop/hyprland.nix @@ -1,6 +1,10 @@ { config, pkgs, ... }: { + imports = [ + ./keyring.nix + ]; + programs.hyprland = { enable = true; package = pkgs.unstable.hyprland; diff --git a/modules/system/desktop/keyring.nix b/modules/system/desktop/keyring.nix new file mode 100644 index 0000000..7b65b8e --- /dev/null +++ b/modules/system/desktop/keyring.nix @@ -0,0 +1,7 @@ +{ ... }: + +{ + services.gnome.gnome-keyring.enable = true; + + security.pam.services.greetd.enableGnomeKeyring = true; +}