Rebuild files to add generated/top.nix to flake modules

This commit is contained in:
2026-03-07 15:22:50 +01:00
parent 5e73915a1f
commit 4ea2fbac2c
3 changed files with 296 additions and 320 deletions
+2 -10
View File
@@ -1,16 +1,8 @@
{ config, pkgs, lib, ... }:
let
wmType = builtins.trace "WM type: ${config.wm.type}" config.wm.type;
in
{
imports = [
./system/top.nix
(if config.wm.type == "hyprland" then
builtins.trace "Importing Hyprland config" ./window_managers/hyprland/top.nix
else if config.wm.type == "mangowc" then
builtins.trace "Importing Mangowc config" ./window_managers/mangowc/top.nix
else
assert false; "Unknown window manager type: ${config.wm.type}"
)
./window_managers/hyprland/top.nix
# ./window_managers/mangowc/top.nix
];
}