Rebuild files to check whether subsequent nixes are imported

This commit is contained in:
2026-03-07 15:07:20 +01:00
parent 7338239fb4
commit 1835d4e888
3 changed files with 299 additions and 296 deletions
+293 -292
View File
File diff suppressed because it is too large Load Diff
+3 -2
View File
@@ -512,11 +512,12 @@ 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.
#+BEGIN_SRC nix :tangle generated/top.nix :noweb tangle :mkdirp yes :eval never-html
{ config, pkgs, lib, user, inputs, ... }:
let
wmType = builtins.trace (config.wm.type) config.wm.type;
in
{
imports = [
# First the stuff that we always want, regardless of windowmanager
./system/top.nix
# Import window manager configurations based on the type defined in the machine file
(if config.wm.type == "hyprland" then
./window_managers/hyprland/top.nix
else if config.wm.type == "mangowc" then
+3 -2
View File
@@ -1,9 +1,10 @@
{ config, pkgs, lib, user, inputs, ... }:
let
wmType = builtins.trace (config.wm.type) config.wm.type;
in
{
imports = [
# First the stuff that we always want, regardless of windowmanager
./system/top.nix
# Import window manager configurations based on the type defined in the machine file
(if config.wm.type == "hyprland" then
./window_managers/hyprland/top.nix
else if config.wm.type == "mangowc" then