Rebuild files to check whether subsequent nixes are imported
This commit is contained in:
+3
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user