mirror of
https://github.com/blahai/nyx.git
synced 2025-06-08 16:53:01 -04:00
more stuffies
This commit is contained in:
parent
d6c098bbbe
commit
f38cce9ed5
9 changed files with 105 additions and 107 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue