Rebuild files to check whether subsequent nixes are imported

This commit is contained in:
2026-03-07 15:11:39 +01:00
parent 1835d4e888
commit 4074ce7842
3 changed files with 302 additions and 302 deletions
+294 -294
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -511,17 +511,17 @@ This file has most of the settings the control how the computer boots up.
** =generated/top.nix=
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
{ config, pkgs, lib, user, inputs, ... }:
{ config, pkgs, lib, ... }:
let
wmType = builtins.trace (config.wm.type) config.wm.type;
wmType = builtins.trace "WM type: ${config.wm.type}" config.wm.type;
in
{
imports = [
./system/top.nix
(if config.wm.type == "hyprland" then
./window_managers/hyprland/top.nix
builtins.trace "Importing Hyprland config" ./window_managers/hyprland/top.nix
else if config.wm.type == "mangowc" then
./window_managers/mangowc/top.nix
builtins.trace "Importing Mangowc config" ./window_managers/mangowc/top.nix
else
assert false; "Unknown window manager type: ${config.wm.type}"
)
+4 -4
View File
@@ -1,14 +1,14 @@
{ config, pkgs, lib, user, inputs, ... }:
{ config, pkgs, lib, ... }:
let
wmType = builtins.trace (config.wm.type) config.wm.type;
wmType = builtins.trace "WM type: ${config.wm.type}" config.wm.type;
in
{
imports = [
./system/top.nix
(if config.wm.type == "hyprland" then
./window_managers/hyprland/top.nix
builtins.trace "Importing Hyprland config" ./window_managers/hyprland/top.nix
else if config.wm.type == "mangowc" then
./window_managers/mangowc/top.nix
builtins.trace "Importing Mangowc config" ./window_managers/mangowc/top.nix
else
assert false; "Unknown window manager type: ${config.wm.type}"
)