From c77b57313c0f4b085d27d326abb89e68b57adbe9 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Sat, 21 Sep 2024 12:56:30 +0200 Subject: update webtray --- common/default.nix | 11 +++++++++++ common/home/default.nix | 8 +++++--- common/services/default.nix | 5 ++++- 3 files changed, 20 insertions(+), 4 deletions(-) (limited to 'common') diff --git a/common/default.nix b/common/default.nix index 8b21089..8baaf5c 100644 --- a/common/default.nix +++ b/common/default.nix @@ -51,6 +51,17 @@ hardware.bluetooth.enable = true; + xdg.portal = { + enable = true; + config = { + common = { + default = [ "hyprland" ]; + }; + }; + configPackages = [ pkgs.xdg-desktop-portal-hyprland ]; + extraPortals = [ pkgs.xdg-desktop-portal-hyprland ]; + }; + nix.settings.experimental-features = [ "nix-command" "flakes" diff --git a/common/home/default.nix b/common/home/default.nix index e4780d6..139b3ec 100644 --- a/common/home/default.nix +++ b/common/home/default.nix @@ -118,11 +118,11 @@ in xdgOpenUsePortal = true; config = { common = { - default = [ "wlr" ]; + default = [ "hyprland" ]; }; }; - configPackages = [ pkgs.xdg-desktop-portal-wlr ]; - extraPortals = [ pkgs.xdg-desktop-portal-wlr ]; + configPackages = [ pkgs.xdg-desktop-portal-hyprland ]; + extraPortals = [ pkgs.xdg-desktop-portal-hyprland ]; }; userDirs = { @@ -142,6 +142,8 @@ in }; + useGlobalPkgs = true; + useUserPackages = true; backupFileExtension = "backup"; sharedModules = [ nixvim.homeManagerModules.nixvim ]; } diff --git a/common/services/default.nix b/common/services/default.nix index d8a2a4d..bc1c9ec 100644 --- a/common/services/default.nix +++ b/common/services/default.nix @@ -1,6 +1,9 @@ { pkgs, ... }: let - services = [ "pipewire" ]; + services = [ + "pipewire" + "greetd" + ]; in builtins.listToAttrs ( map (n: { -- cgit v1.2.3-70-g09d2