mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 16:23:57 +01:00
18 lines
352 B
Nix
18 lines
352 B
Nix
{ config, ... }: {
|
|
home-manager = {
|
|
useGlobalPkgs = true;
|
|
useUserPackages = true;
|
|
|
|
sharedModules = [{
|
|
home.stateVersion = config.variables.stateVersion;
|
|
}];
|
|
|
|
users = {
|
|
user = {
|
|
home.username = config.variables.username;
|
|
home.homeDirectory = "/home/${config.variables.username}";
|
|
};
|
|
};
|
|
};
|
|
}
|