This commit is contained in:
Hadi
2024-10-01 14:57:15 +02:00
parent 804e6b255e
commit 7f1c7446f8
7 changed files with 35 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
../modules/fonts.nix
../modules/nvidia.nix
../modules/prime.nix
../modules/xorg.nix
../modules/zsh.nix
../modules/tuigreet.nix
../modules/auto-upgrade.nix

View File

@@ -44,4 +44,9 @@
wget
curl
];
services.logind.extraConfig = ''
# dont shutdown when power button is short-pressed
HandlePowerKey=ignore
'';
}

10
hosts/modules/xorg.nix Normal file
View File

@@ -0,0 +1,10 @@
{ pkgs, ... }: {
xdg.portal = {
enable = true;
config.common.default = "*";
wlr.enable = true;
xdgOpenUsePortal = true;
extraPortals =
[ pkgs.xdg-desktop-portal-hyprland pkgs.xdg-desktop-portal-gtk ];
};
}