Rebuild files to check whether subsequent nixes are imported
This commit is contained in:
+293
-292
File diff suppressed because it is too large
Load Diff
+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.
|
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, user, inputs, ... }:
|
{ config, pkgs, lib, user, inputs, ... }:
|
||||||
|
let
|
||||||
|
wmType = builtins.trace (config.wm.type) config.wm.type;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
# First the stuff that we always want, regardless of windowmanager
|
|
||||||
./system/top.nix
|
./system/top.nix
|
||||||
# Import window manager configurations based on the type defined in the machine file
|
|
||||||
(if config.wm.type == "hyprland" then
|
(if config.wm.type == "hyprland" then
|
||||||
./window_managers/hyprland/top.nix
|
./window_managers/hyprland/top.nix
|
||||||
else if config.wm.type == "mangowc" then
|
else if config.wm.type == "mangowc" then
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
{ config, pkgs, lib, user, inputs, ... }:
|
{ config, pkgs, lib, user, inputs, ... }:
|
||||||
|
let
|
||||||
|
wmType = builtins.trace (config.wm.type) config.wm.type;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
# First the stuff that we always want, regardless of windowmanager
|
|
||||||
./system/top.nix
|
./system/top.nix
|
||||||
# Import window manager configurations based on the type defined in the machine file
|
|
||||||
(if config.wm.type == "hyprland" then
|
(if config.wm.type == "hyprland" then
|
||||||
./window_managers/hyprland/top.nix
|
./window_managers/hyprland/top.nix
|
||||||
else if config.wm.type == "mangowc" then
|
else if config.wm.type == "mangowc" then
|
||||||
|
|||||||
Reference in New Issue
Block a user