mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-01 03:29:24 +01:00
18 lines
362 B
Nix
18 lines
362 B
Nix
|
let VARIABLES = import ../src/variables.nix; in {
|
||
|
home-manager = {
|
||
|
useGlobalPkgs = true;
|
||
|
useUserPackages = true;
|
||
|
|
||
|
sharedModules = [{
|
||
|
home.stateVersion = VARIABLES.stateVersion;
|
||
|
}];
|
||
|
|
||
|
users = {
|
||
|
user = {
|
||
|
home.username = VARIABLES.username;
|
||
|
home.homeDirectory = "/home/${VARIABLES.username}";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|