Move modules folders

This commit is contained in:
Filippo Berto 2025-09-11 14:00:31 +02:00
parent 914909009c
commit c1101e7b45
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
183 changed files with 327 additions and 327 deletions

27
nixos/hyprland.nix Normal file
View file

@ -0,0 +1,27 @@
{ config, ... }:
{
programs.hyprland = {
enable = true;
# enableNvidiaPatches = builtins.elem "nvidia" config.services.xserver.videoDrivers; # removed in 24.x
xwayland.enable = true;
};
environment.sessionVariables = {
WLR_NO_HARDWARE_CURSORS = "1";
NIXOS_OZONE_WL = "1";
};
hardware = {
graphics.enable = true;
nvidia.modesetting.enable = builtins.elem "nvidia" config.services.xserver.videoDrivers;
};
services.pipewire.wireplumber.enable = true;
security.pam.services.hyprlock = { };
security.pam.services.swaylock = {
text = ''
auth include login
'';
};
}