Skip to content

Commit

Permalink
💚 mithrix is happy now ?
Browse files Browse the repository at this point in the history
  • Loading branch information
elythh committed Oct 23, 2024
1 parent efa5511 commit 90d8fc3
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions hosts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,17 @@
inherit specialArgs;
modules = default ++ [
./${hostname}
(lib.mkIf (user != null) {
home-manager = {
users.${user}.imports = homeImports.${hostname};
extraSpecialArgs = specialArgs;
};
})
(
if user != null then
{
home-manager = {
users.${user}.imports = homeImports.${hostname};
extraSpecialArgs = specialArgs;
};
}
else
{ }
)
];
};
in
Expand All @@ -45,6 +50,7 @@
};
mithrix = mkHost {
hostname = "mithrix";
user = null;
};
};
}

0 comments on commit 90d8fc3

Please sign in to comment.