hyprland: switch to config generator from the flake

This commit is contained in:
Charlie Root 2025-04-06 22:25:03 +02:00
commit 8df1696ac9
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
5 changed files with 418 additions and 216 deletions

View file

@ -1,7 +1,8 @@
{
config,
pkgs,
inputs,
lib,
pkgs,
...
}: let
cfg = config.modules.desktops.hyprland;
@ -16,10 +17,10 @@ in {
./exec.nix
./settings.nix
./workspaces.nix
./nixos-module.nix
inputs.hyprland.nixosModules.default
];
# we disable the default hyprland module
disabledModules = ["programs/hyprland.nix"];
# disabledModules = ["programs/hyprland.nix"];
options.modules.desktops.hyprland = {
enable = mkOption {