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

@ -25,18 +25,9 @@ in
{
# I'm only using keepass on my user, so I'm installing it with home-manager
home-manager = {
/*
TODO: move home-manager settings into the common role
They are not keepass specific, so they really should
not be here. I'm too lazy to do it now tho :P
*/
backupFileExtension = "backup";
useGlobalPkgs = true;
extraSpecialArgs = { kpxcSettings = kpxcSettings; };
users.toast = { config, pkgs, kpxcSettings, ... }: {
home = {
stateVersion = "23.05";
packages = [ pkgs.keepassxc ];
# No module for KeePassXC config :(
file = {
@ -63,7 +54,6 @@ in
'';
};
};
};
};
}