Move modules folders
This commit is contained in:
parent
914909009c
commit
c1101e7b45
183 changed files with 327 additions and 327 deletions
27
nixos/hyprland.nix
Normal file
27
nixos/hyprland.nix
Normal 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
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue