mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 22:51:54 -05:00
homeManagerModules: add apps.keepassxc with defaults
This commit is contained in:
parent
17ba962644
commit
fcb09ac347
|
@ -14,6 +14,7 @@
|
||||||
./firefox
|
./firefox
|
||||||
./fuzzel
|
./fuzzel
|
||||||
./fzf
|
./fzf
|
||||||
|
./keepassxc
|
||||||
./librewolf
|
./librewolf
|
||||||
./mako
|
./mako
|
||||||
./neofetch
|
./neofetch
|
||||||
|
|
46
homeManagerModules/apps/keepassxc/default.nix
Normal file
46
homeManagerModules/apps/keepassxc/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
config = lib.mkIf config.alyraffauf.apps.keepassxc.enable {
|
||||||
|
home.packages = [pkgs.keepassxc];
|
||||||
|
xdg.configFile."keepassxc/keepassxc.ini".text = ''
|
||||||
|
[General]
|
||||||
|
ConfigVersion=2
|
||||||
|
HideWindowOnCopy=true
|
||||||
|
MinimizeAfterUnlock=false
|
||||||
|
MinimizeOnOpenUrl=true
|
||||||
|
|
||||||
|
[Browser]
|
||||||
|
AlwaysAllowAccess=true
|
||||||
|
CustomProxyLocation=
|
||||||
|
Enabled=true
|
||||||
|
SearchInAllDatabases=true
|
||||||
|
|
||||||
|
[GUI]
|
||||||
|
ApplicationTheme=classic
|
||||||
|
ColorPasswords=false
|
||||||
|
CompactMode=true
|
||||||
|
MinimizeOnClose=true
|
||||||
|
MinimizeOnStartup=false
|
||||||
|
MinimizeToTray=true
|
||||||
|
ShowTrayIcon=true
|
||||||
|
TrayIconAppearance=colorful
|
||||||
|
|
||||||
|
[PasswordGenerator]
|
||||||
|
AdditionalChars=
|
||||||
|
ExcludedChars=
|
||||||
|
|
||||||
|
[SSHAgent]
|
||||||
|
Enabled=true
|
||||||
|
|
||||||
|
[Security]
|
||||||
|
ClearClipboardTimeout=15
|
||||||
|
EnableCopyOnDoubleClick=true
|
||||||
|
IconDownloadFallback=true
|
||||||
|
LockDatabaseScreenLock=true
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
|
@ -23,6 +23,7 @@
|
||||||
firefox.enable = lib.mkEnableOption "Firefox web browser.";
|
firefox.enable = lib.mkEnableOption "Firefox web browser.";
|
||||||
fuzzel.enable = lib.mkEnableOption "Fuzzel app launcher.";
|
fuzzel.enable = lib.mkEnableOption "Fuzzel app launcher.";
|
||||||
fzf.enable = lib.mkEnableOption "Fzf fuzzy file finder.";
|
fzf.enable = lib.mkEnableOption "Fzf fuzzy file finder.";
|
||||||
|
keepassxc.enable = lib.mkEnableOption "KeePassXC password manager.";
|
||||||
librewolf.enable = lib.mkEnableOption "Librewolf web browser.";
|
librewolf.enable = lib.mkEnableOption "Librewolf web browser.";
|
||||||
mako.enable = lib.mkEnableOption "Mako notification daemon.";
|
mako.enable = lib.mkEnableOption "Mako notification daemon.";
|
||||||
neofetch.enable = lib.mkEnableOption "Neofetch.";
|
neofetch.enable = lib.mkEnableOption "Neofetch.";
|
||||||
|
|
Loading…
Reference in a new issue