Move home-manager settings to common role

This commit is contained in:
Toast 2023-08-28 23:44:25 +02:00
parent 8c35cda8e9
commit 6f59bd3d6d
3 changed files with 15 additions and 21 deletions

View file

@ -49,6 +49,21 @@
# Set up time zone.
time.timeZone = "Europe/Madrid";
home-manager = {
backupFileExtension = "hm-backup";
useGlobalPkgs = true;
users.toast = { config, ... }: {
home.stateVersion = "23.05";
xdg = {
userDirs = {
enable = true;
createDirectories = true;
publicShare = null; # Disable the public folder
};
};
};
};
# Set up secrets
age = {
identityPaths = [