diff --git a/alacritty.nix b/alacritty.nix
new file mode 100644
index 0000000..65884af
--- /dev/null
+++ b/alacritty.nix
@@ -0,0 +1,29 @@
+{
+ # Gruvbox theme (https://github.com/alacritty/alacritty-theme/blob/master/themes/gruvbox_dark.yaml)
+ colors = {
+ primary = {
+ background = "0x282828";
+ foreground = "0xebdbb2";
+ };
+ normal = {
+ black = "0x282828";
+ red = "0xcc241d";
+ green = "0x98971a";
+ yellow = "0xd79921";
+ blue = "0x458588";
+ magenta = "0xb16286";
+ cyan = "0x689d6a";
+ white = "0xa89984";
+ };
+ bright = {
+ black = "0x928374";
+ red = "0xfb4934";
+ green = "0xb8bb26";
+ yellow = "0xfabd2f";
+ blue = "0x83a598";
+ magenta = "0xd3869b";
+ cyan = "0x8ec07c";
+ white = "0xebdbb2";
+ };
+ };
+}
diff --git a/home.nix b/home.nix
index dd12769..6f65f67 100644
--- a/home.nix
+++ b/home.nix
@@ -6,42 +6,16 @@
homeDirectory = "/home/pim";
stateVersion = stateVersion;
- packages = with pkgs; [];
+ packages = with pkgs; [
+ keepassxc
+ ];
};
programs = {
home-manager.enable = true;
alacritty = {
enable = true;
- settings = {
- # Gruvbox theme (https://github.com/alacritty/alacritty-theme/blob/master/themes/gruvbox_dark.yaml)
- colors = {
- primary = {
- background = "0x282828";
- foreground = "0xebdbb2";
- };
- normal = {
- black = "0x282828";
- red = "0xcc241d";
- green = "0x98971a";
- yellow = "0xd79921";
- blue = "0x458588";
- magenta = "0xb16286";
- cyan = "0x689d6a";
- white = "0xa89984";
- };
- bright = {
- black = "0x928374";
- red = "0xfb4934";
- green = "0xb8bb26";
- yellow = "0xfabd2f";
- blue = "0x83a598";
- magenta = "0xd3869b";
- cyan = "0x8ec07c";
- white = "0xebdbb2";
- };
- };
- };
+ settings = (import ./alacritty.nix);
};
firefox = {
@@ -100,4 +74,6 @@
xsession = {
enable = true;
};
+
+ # xdg.configFile."keepassxc/keepassxc.ini".text = pkgs.lib.generators.toINI {} (import ./keepassxc.nix);
}
diff --git a/keepassxc.nix b/keepassxc.nix
new file mode 100644
index 0000000..8a01d85
--- /dev/null
+++ b/keepassxc.nix
@@ -0,0 +1,43 @@
+{
+ General = {
+ ConfigVersion = 2;
+ };
+ Browser = {
+ Enabled = true;
+ CustomProxyLocation = "";
+ };
+ FdoSecrets = {
+ Enabled = true;
+ ConfirmAccessItem = false;
+ ConfirmDeleteItem = false;
+ };
+ GUI = {
+ AdvancedSettings = true;
+ MinimizeOnClose = true;
+ MinimizeOnStartup = true;
+ ShowTrayIcon = true;
+ TrayIconAppearance = "colorful";
+ };
+ KeeShare = {
+ Active = "\"\\n\\n \\n\\n\"";
+ Foreign = "\"\\n\\n \\n\\n\"";
+ Own = "\"\\n\\n \\n \\n\\n\"";
+ QuietSuccess = true;
+ };
+ PasswordGenerator = {
+ AdditionalChars = "";
+ AdvancedMode = false;
+ ExcludedChars = "";
+ Length = 40;
+ SpecialChars = false;
+ Type = 0;
+ UpperCase = true;
+ };
+ SSHAgent = {
+ Enabled = true;
+ };
+ Security = {
+ ClearClipboardTimeout = 30;
+ ClearSearch = false;
+ };
+}