Migrate remaining nixos modules
This commit is contained in:
16
hosts/common/optional/hyprland.nix
Normal file
16
hosts/common/optional/hyprland.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
|
||||
programs.hyprland.enable = true;
|
||||
programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.hyprland; # does only work with nixos-unstable
|
||||
programs.hyprland.xwayland.enable = true;
|
||||
security.pam.services.hyprlock = { };
|
||||
services.displayManager.defaultSession = "hyprland";
|
||||
}
|
Reference in New Issue
Block a user