more stuffies

This commit is contained in:
blahai 2025-02-02 22:07:33 +02:00
parent d6c098bbbe
commit f38cce9ed5
No known key found for this signature in database
9 changed files with 105 additions and 107 deletions

View file

@ -4,7 +4,7 @@
...
}: let
inherit (self) lib;
inherit (lib.lists) optionals;
inherit (lib.lists) optionals concatLists;
profilesPath = ../modules/profiles;
# Hardware profiles
@ -22,13 +22,15 @@ in {
shared.specialArgs = {inherit lib;};
perClass = class: {
modules = [
# import the class module, this contains the common configurations between all systems of the same class
"${self}/modules/${class}/default.nix"
modules = concatLists [
[
# import the class module, this contains the common configurations between all systems of the same class
"${self}/modules/${class}/default.nix"
]
(optionals (class != "iso") [
# import the home module, which is users for configuring users via hjem
"${self}/home/default.nix"
# "${self}/home/default.nix"
# import the base module, this contains the common configurations between all systems
"${self}/modules/base/default.nix"