add h002 starter files

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-05-11 00:30:18 -05:00
parent 1064ac1a49
commit aa3653e8c2
3 changed files with 161 additions and 18 deletions

View file

@ -0,0 +1,42 @@
{ lib, ylib, settings, ... }:
{
imports =
[ ]
## Common nix modules
++ ylib.umport {
path = lib.fileset.maybeMissing (settings.usersDir + "/_common/nix_modules");
recursive = true;
}
# Nix modules for this user
++ ylib.umport {
path = lib.fileset.maybeMissing ./nix_modules;
recursive = true;
}
# Nix modules by host for this user
++ ylib.umport {
path = lib.fileset.maybeMissing ./by_hosts/${settings.system.hostname}/nix_modules;
recursive = true;
};
home-manager.users.${settings.user.username} = {
imports =
[ ]
# Common home manager
++ ylib.umport {
path = lib.fileset.maybeMissing (settings.usersDir + "/_common/home_manager");
recursive = true;
}
# Home manger for this user
++ ylib.umport {
path = lib.fileset.maybeMissing ./home_manager;
recursive = true;
}
# Home manager by host for this user
++ ylib.umport {
path = lib.fileset.maybeMissing ./by_hosts/${settings.system.hostname}/home_manager;
recursive = true;
};
};
}