40 lines
822 B
Nix
40 lines
822 B
Nix
{
|
|
den,
|
|
__findFile,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
# Homes
|
|
den.homes.x86_64-linux.doloro-desktop = {
|
|
userName = "doloro";
|
|
};
|
|
# TODO
|
|
den.homes.x86_64-linux.doloro-laptop = {
|
|
userName = "doloro";
|
|
};
|
|
# Machines
|
|
den.hosts.x86_64-linux.desktop = {
|
|
users.doloro = {
|
|
aspect = "doloro-desktop";
|
|
home-manager.enable = true;
|
|
};
|
|
};
|
|
# TODO
|
|
den.hosts.x86_64-linux.laptop = {
|
|
users.doloro = {
|
|
aspect = "doloro-laptop";
|
|
home-manager.enable = true;
|
|
};
|
|
};
|
|
|
|
den.schema.user.classes = lib.mkDefault [ "homeManager" ];
|
|
|
|
# Fixes 'The option `flake.homeConfigurations' is defined multiple times while it's expected to be unique.'
|
|
flake.options.homeConfigurations = lib.mkOption {
|
|
type = lib.types.attrs;
|
|
description = "Home Manager configurations for users.";
|
|
};
|
|
|
|
}
|