Rebuild files to add generated/top.nix to flake modules
This commit is contained in:
@@ -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
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user