hyprland: re-add system module
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
./services/postgresql.nix
|
||||
./services/tailscale.nix
|
||||
./system/desktop/gnome.nix
|
||||
./system/desktop/hyprland.nix
|
||||
./system/desktop/mimeapps.nix
|
||||
./system/wireless.nix
|
||||
];
|
||||
|
25
modules/nixos/system/desktop/hyprland.nix
Normal file
25
modules/nixos/system/desktop/hyprland.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (lib)
|
||||
mkEnableOption
|
||||
mkIf
|
||||
;
|
||||
cfg = config.modules.system.desktop.hyprland;
|
||||
in
|
||||
{
|
||||
options.modules.system.desktop.hyprland.enable = mkEnableOption "hyprland";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.displayManager.ly.enable = true;
|
||||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
# withUWSM = true;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user