Desktop/keepassxc: install using home-manager
This commit is contained in:
parent
dcd6b194cb
commit
63062475e2
1 changed files with 25 additions and 23 deletions
|
|
@ -28,12 +28,13 @@ let
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
users.users.toast.packages = [ pkgs.keepassxc ];
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
extraSpecialArgs = { kpxcSettings = kpxcSettings; };
|
extraSpecialArgs = { kpxcSettings = kpxcSettings; };
|
||||||
users.toast = { config, pkgs, kpxcSettings, ... }: {
|
users.toast = { config, pkgs, kpxcSettings, ... }: {
|
||||||
# No module for KeePassXC config :(
|
# No module for KeePassXC config :(
|
||||||
home.file = {
|
home = {
|
||||||
|
packages = [ pkgs.keepassxc ];
|
||||||
|
file = {
|
||||||
".config/keepassxc/keepassxc.ini".text = kpxcSettings;
|
".config/keepassxc/keepassxc.ini".text = kpxcSettings;
|
||||||
# For some reason the autostart .desktop is not the same as the regular one
|
# For some reason the autostart .desktop is not the same as the regular one
|
||||||
".config/autostart/org.keepassxc.KeePassXC.desktop".text = ''
|
".config/autostart/org.keepassxc.KeePassXC.desktop".text = ''
|
||||||
|
|
@ -58,4 +59,5 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue