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
+292 -300
View File
File diff suppressed because it is too large Load Diff
+2 -10
View File
@@ -515,19 +515,11 @@ This file has most of the settings the control how the computer boots up.
The ./generated/top.nix file acts as an anchor or entry point for the entire chain of imports in the pyramid structure. The ./generated/top.nix file acts as an anchor or entry point for the entire chain of imports in the pyramid structure.
#+BEGIN_SRC nix :tangle generated/top.nix :noweb tangle :mkdirp yes :eval never-html #+BEGIN_SRC nix :tangle generated/top.nix :noweb tangle :mkdirp yes :eval never-html
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let
wmType = builtins.trace "WM type: ${config.wm.type}" config.wm.type;
in
{ {
imports = [ imports = [
./system/top.nix ./system/top.nix
(if config.wm.type == "hyprland" then ./window_managers/hyprland/top.nix
builtins.trace "Importing Hyprland config" ./window_managers/hyprland/top.nix # ./window_managers/mangowc/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}"
)
]; ];
} }
#+END_SRC #+END_SRC
+2 -10
View File
@@ -1,16 +1,8 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let
wmType = builtins.trace "WM type: ${config.wm.type}" config.wm.type;
in
{ {
imports = [ imports = [
./system/top.nix ./system/top.nix
(if config.wm.type == "hyprland" then ./window_managers/hyprland/top.nix
builtins.trace "Importing Hyprland config" ./window_managers/hyprland/top.nix # ./window_managers/mangowc/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}"
)
]; ];
} }