dotfiles
My PC Dotfiles & Websitegit clone https://github.com/maydayv7/dotfiles
modules/apps/auth.nix (666B)
1## Auth Credential Programs ##
2{config, ...}: let
3 inherit (config) util;
4 inherit (config.flake) files;
5in {
6 flake.modules.homeManager.auth = {pkgs, ...}: {
7 home.packages = [pkgs.ente-auth];
8 programs.keepassxc = {
9 enable = true;
10 autostart = false;
11 };
12
13 xdg.mimeApps.defaultApplications = util.build.mime {
14 password = ["org.keepassxc.KeePassXC.desktop"];
15 };
16
17 home = {
18 persist.directories = [
19 ".cache/keepassxc"
20 ".local/share/io.ente.auth"
21 ];
22
23 file.".config/keepassxc/keepassxc.ini" = {
24 mutable = true;
25 force = true;
26 text = files.keepassxc;
27 };
28 };
29 };
30}