refactor: move window manager configs around
This commit is contained in:
parent
e55e3a55b0
commit
227b2b1f67
3 changed files with 25 additions and 22 deletions
|
|
@ -4,10 +4,11 @@
|
|||
./catppuccin.nix
|
||||
./dunst.nix
|
||||
./gtk.nix
|
||||
./hyprland.nix
|
||||
./hyprpaper
|
||||
./rofi
|
||||
./swaylock.nix
|
||||
./waybar
|
||||
./window-managers.nix
|
||||
./xdg.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -228,25 +228,4 @@
|
|||
#hyprlandPlugins.hypr-dynamic-cursors
|
||||
];
|
||||
};
|
||||
|
||||
xdg = {
|
||||
userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
};
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
|
||||
xdgOpenUsePortal = true;
|
||||
|
||||
extraPortals = lib.mkForce [
|
||||
pkgs.xdg-desktop-portal-gtk # For both
|
||||
pkgs.xdg-desktop-portal-hyprland # For Hyprland
|
||||
pkgs.xdg-desktop-portal-gnome # For Gnome
|
||||
];
|
||||
|
||||
config.common.default = "*";
|
||||
};
|
||||
}
|
||||
23
home/wm/xdg.nix
Normal file
23
home/wm/xdg.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ lib, pkgs }:
|
||||
{
|
||||
xdg = {
|
||||
userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
};
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
|
||||
xdgOpenUsePortal = true;
|
||||
|
||||
extraPortals = lib.mkForce [
|
||||
pkgs.xdg-desktop-portal-gtk # For both
|
||||
pkgs.xdg-desktop-portal-hyprland # For Hyprland
|
||||
pkgs.xdg-desktop-portal-gnome # For Gnome
|
||||
];
|
||||
|
||||
config.common.default = "*";
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue