hyprland: re-add system module
All checks were successful
Check flake / build-amd64-linux (push) Successful in 4m35s

This commit is contained in:
Jordan Holt 2025-03-16 17:18:24 +00:00
parent 7bc95779e7
commit c2659206a0
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520
5 changed files with 34 additions and 9 deletions

View File

@ -50,8 +50,6 @@
capSysAdmin = true;
};
services.displayManager.ly.enable = true;
modules = {
hardware.presonus-studio.enable = true;
services = {
@ -69,7 +67,10 @@
repoPath = "ssh://iqwu22oq@iqwu22oq.repo.borgbase.com/./repo";
};
};
system.desktop.gnome.enable = lib.mkForce false;
system.desktop = {
gnome.enable = lib.mkForce false;
hyprland.enable = true;
};
};
system.stateVersion = "22.11";

View File

@ -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
];

View 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;
};
};
}

View File

@ -13,6 +13,9 @@
]
++ lib.optionals osConfig.modules.system.desktop.gnome.enable [
./gnome.nix
]
++ lib.optionals osConfig.modules.system.desktop.hyprland.enable [
./hyprland.nix
];
home.packages = with pkgs; [

View File

@ -4,15 +4,10 @@
}:
{
programs.hyprland = {
wayland.windowManager.hyprland = {
enable = true;
# withUWSM = true;
};
# programs.uwsm.enable = true;
networking.networkmanager.enable = true;
home.packages = with pkgs.unstable; [
adw-gtk3
anyrun