dotfiles/users/josh/configuration.nix
RingOfStorms (Joshua Bell) 57090ccde1 SSH updates
2024-04-25 10:47:21 -05:00

41 lines
1.1 KiB
Nix

{ 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;
};
};
}