diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-09-21 12:56:30 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-09-21 12:56:30 +0200 |
| commit | c77b57313c0f4b085d27d326abb89e68b57adbe9 (patch) | |
| tree | 35fbf53cfcac1a1bb0b7b3f85e6fc80ae83072ed /common | |
| parent | 914af98449e074bf44ee8e310679ea44d1ca8f4b (diff) | |
update webtray
Diffstat (limited to 'common')
| -rw-r--r-- | common/default.nix | 11 | ||||
| -rw-r--r-- | common/home/default.nix | 8 | ||||
| -rw-r--r-- | common/services/default.nix | 5 |
3 files changed, 20 insertions, 4 deletions
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: { |