Skip to content

Commit

Permalink
fix: small fixes for IR
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Jan 3, 2025
1 parent f29d566 commit d9074c7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions systems/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,23 @@ let
headless = profilesPath + /headless; # for headless systems
in
{
# this is how we get the custom module `config.hosts`
imports = [ inputs.easy-hosts.flakeModule ];

config.easyHosts = {
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"

(lib.lists.optionals (class != "iso") [
# import the home module, which is users for configuring users via home-manager
"${self}/home/default.nix"

# import the base module, this contains the common configurations between all systems
"${self}/modules/base/default.nix"
])

# import the class module, this contains the common configurations between all systems of the same class
"${self}/modules/${class}/default.nix"
];
};

Expand Down

0 comments on commit d9074c7

Please sign in to comment.