mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40:14 +01:00
26 lines
503 B
Nix
26 lines
503 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
imports = [
|
|
<home-manager/nixos>
|
|
];
|
|
|
|
config = {
|
|
home-manager = {
|
|
useUserPackages = true;
|
|
useGlobalPkgs = true;
|
|
|
|
# defaults for users
|
|
sharedModules = import ./home-shared-modules.nix;
|
|
|
|
users = {
|
|
ronja = lib.mkIf (builtins.elem "ronja" config.my.enabledUsers) (import ./ronja-home.nix);
|
|
vinzenz = lib.mkIf (builtins.elem "vinzenz" config.my.enabledUsers) (import ./vinzenz-home.nix);
|
|
};
|
|
};
|
|
};
|
|
}
|