From 4374b84c4c919ce7ad696b70bdfead26b11905d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Gro=C3=9Fmann?= Date: Sat, 21 Jan 2023 21:56:47 +0100 Subject: [PATCH] feat: Added firefox config --- data/{ => gpg}/newpubkey.gpg | 0 data/{ => gpg}/pubkey.gpg | 0 data/{ => zsh}/zshrc | 0 users/common/default.nix | 7 ++++--- users/common/desktop.nix | 1 + users/patrick.nix | 23 ++++++++++++++++++++++- 6 files changed, 27 insertions(+), 4 deletions(-) rename data/{ => gpg}/newpubkey.gpg (100%) rename data/{ => gpg}/pubkey.gpg (100%) rename data/{ => zsh}/zshrc (100%) diff --git a/data/newpubkey.gpg b/data/gpg/newpubkey.gpg similarity index 100% rename from data/newpubkey.gpg rename to data/gpg/newpubkey.gpg diff --git a/data/pubkey.gpg b/data/gpg/pubkey.gpg similarity index 100% rename from data/pubkey.gpg rename to data/gpg/pubkey.gpg diff --git a/data/zshrc b/data/zsh/zshrc similarity index 100% rename from data/zshrc rename to data/zsh/zshrc diff --git a/users/common/default.nix b/users/common/default.nix index 74699bb..b8ff244 100644 --- a/users/common/default.nix +++ b/users/common/default.nix @@ -9,6 +9,7 @@ sqlite bat ripgrep + killall ]; programs.gpg = { @@ -16,11 +17,11 @@ scdaemonSettings.disable-ccid = true; publicKeys = [ { - source = ../../data/pubkey.gpg; + source = ../../data/gpg/pubkey.gpg; trust = 5; } { - source = ../../data/newpubkey.gpg; + source = ../../data/gpg/newpubkey.gpg; trust = 5; } ]; @@ -61,7 +62,7 @@ programs.zsh = { enable = true; - initExtra = builtins.readFile ../../data/zshrc; + initExtra = builtins.readFile ../../data/zsh/zshrc; plugins = [ { name = "powerlevel10k"; diff --git a/users/common/desktop.nix b/users/common/desktop.nix index 39a2a47..ef8c0d3 100644 --- a/users/common/desktop.nix +++ b/users/common/desktop.nix @@ -8,5 +8,6 @@ pinentry arandr feh + xclip ]; } diff --git a/users/patrick.nix b/users/patrick.nix index 04d693e..d4b8a27 100644 --- a/users/patrick.nix +++ b/users/patrick.nix @@ -6,9 +6,9 @@ home = { stateVersion = "23.05"; packages = with pkgs; [ - firefox thunderbird discord + bitwarden ]; }; imports = [ @@ -18,6 +18,27 @@ ./common ]; + programs.firefox = { + enable = true; + profiles.patrick = { + userChrome = '' +#TabsToolbar { +visibility: collapse; +} + +#titlebar { + margin-bottom: !important; +} + +#titlebar-buttonbox { + height: 32px !important; +} +''; + search.default = "DuckDuckGo"; + search.force = true; + }; + }; + nixpkgs.config.allowUnfree = true; xsession.enable = true; }