KeepassXC: install with users.users.<>-packages instead of home manager
This commit is contained in:
parent
638cf16a41
commit
0a358a8643
1 changed files with 24 additions and 27 deletions
|
|
@ -23,14 +23,12 @@ let
|
|||
in
|
||||
|
||||
{
|
||||
# I'm only using keepass on my user, so I'm installing it with home-manager
|
||||
users.users.toast.packages = [ pkgs.keepassxc ];
|
||||
home-manager = {
|
||||
extraSpecialArgs = { kpxcSettings = kpxcSettings; };
|
||||
users.toast = { config, pkgs, kpxcSettings, ... }: {
|
||||
home = {
|
||||
packages = [ pkgs.keepassxc ];
|
||||
# No module for KeePassXC config :(
|
||||
file = {
|
||||
home.file = {
|
||||
".config/keepassxc/keepassxc.ini".text = kpxcSettings;
|
||||
# For some reason the autostart .desktop is not the same as the regular one
|
||||
".config/autostart/org.keepassxc.KeePassXC.desktop".text = ''
|
||||
|
|
@ -55,5 +53,4 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue