forked from foxora/nix
init
This commit is contained in:
commit
a07bd5fd9b
66 changed files with 6115 additions and 0 deletions
12
homes/modules/services/keepassxc/keepassxc.ini
Normal file
12
homes/modules/services/keepassxc/keepassxc.ini
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[General]
|
||||
ConfigVersion=2
|
||||
|
||||
[FdoSecrets]
|
||||
Enabled=true
|
||||
ShowNotification=true
|
||||
ConfirmAccessItem=true
|
||||
ConfirmDeleteItem=true
|
||||
|
||||
[GUI]
|
||||
MinimizeToTray=true
|
||||
ShowTrayIcon=false
|
||||
23
homes/modules/services/keepassxc/keepassxc.nix
Normal file
23
homes/modules/services/keepassxc/keepassxc.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ config, inputs, lib, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
keepassxc
|
||||
];
|
||||
|
||||
systemd.user.services.keepassxc = {
|
||||
Unit = {
|
||||
Description = "KeePassXC password manager";
|
||||
After = [ "graphical-session-pre.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
Description = "${pkgs.keepassxc}/bin/keepassxc";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
xdg.configFile."keepassxc/keepassxc.ini" = {
|
||||
source = ./keepassxc.ini;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue