nix-config/modules/home-manager.nix
2023-06-18 15:52:03 -04:00

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