From 339a1d68535a68445e8b021ded3ce53d17f7d958 Mon Sep 17 00:00:00 2001 From: monologiq Date: Wed, 24 Dec 2025 12:08:37 +0100 Subject: [PATCH] Create a desktop.linux profile --- machines/persephone.nix | 9 ++------- profiles/desktop.linux.nix | 6 ++++++ 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 profiles/desktop.linux.nix diff --git a/machines/persephone.nix b/machines/persephone.nix index 0c06dc2..a0b444b 100644 --- a/machines/persephone.nix +++ b/machines/persephone.nix @@ -17,6 +17,7 @@ in ./persephone/hardware.nix ./persephone/networking.nix ../profiles/minimal.nix + ../profiles/desktop.linux.nix ]; nixpkgs.config.allowUnfreePredicate = @@ -108,7 +109,6 @@ in libva-utils vdpauinfo - wget adwaita-icon-theme gsettings-desktop-schemas @@ -223,15 +223,9 @@ in trusted-public-keys = [ "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" ]; }; - # Enable required services for Wayland - security.polkit.enable = true; - programs.dconf.enable = true; - programs._1password.enable = true; programs._1password-gui = { enable = true; - # Certain features, including CLI integration and system authentication support, - # require enabling PolKit integration on some desktop environments (e.g. Plasma). polkitPolicyOwners = [ "pml" ]; }; @@ -239,6 +233,7 @@ in "1password/custom_allowed_browsers" = { text = '' firefox + brave ''; mode = "0755"; }; diff --git a/profiles/desktop.linux.nix b/profiles/desktop.linux.nix new file mode 100644 index 0000000..f2d4fdd --- /dev/null +++ b/profiles/desktop.linux.nix @@ -0,0 +1,6 @@ +{ pkgs, ... }: + +{ + programs.dconf.enable = true; + security.polkit.enable = true; +}