From fd834b3512c077c3d8b4b685a770020aff9533e4 Mon Sep 17 00:00:00 2001 From: joy Date: Mon, 2 Dec 2024 16:39:04 +0100 Subject: [PATCH] update --- flake.lock | 42 +++++++++++++++---------------- modules/wm/firefox/userChrome.nix | 7 ++++-- modules/wm/stylix/default.nix | 3 ++- 3 files changed, 28 insertions(+), 24 deletions(-) diff --git a/flake.lock b/flake.lock index 419c273..ba12cea 100644 --- a/flake.lock +++ b/flake.lock @@ -97,11 +97,11 @@ }, "locked": { "dir": "pkgs/firefox-addons", - "lastModified": 1732593794, - "narHash": "sha256-VhS+81/eTDiin5ULZLWvqI+9ggI+qXNUSvi3dIQfBX4=", + "lastModified": 1733135686, + "narHash": "sha256-++1Btq9w+ZPQYP45X3G1iXEXwllo3b2UdeKVwQdUAoQ=", "owner": "rycee", "repo": "nur-expressions", - "rev": "9b7d4fb4739c0bf808d31e2b66b337f1234e4447", + "rev": "074cadca26132cbd19f44ae5a45072f28f050ed9", "type": "gitlab" }, "original": { @@ -203,11 +203,11 @@ ] }, "locked": { - "lastModified": 1732482255, - "narHash": "sha256-GUffLwzawz5WRVfWaWCg78n/HrBJrOG7QadFY6rtV8A=", + "lastModified": 1733133928, + "narHash": "sha256-gU40r9AfpIr4eq+0noM8yH1Hxf+EA3dqfIpFtQl8Y1E=", "owner": "nix-community", "repo": "home-manager", - "rev": "a9953635d7f34e7358d5189751110f87e3ac17da", + "rev": "873e39d5f4437d2f3ab06881fea8e63e45e1d011", "type": "github" }, "original": { @@ -312,11 +312,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1732014248, - "narHash": "sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w=", + "lastModified": 1733015953, + "narHash": "sha256-t4BBVpwG9B4hLgc6GUBuj3cjU7lP/PJfpTHuSqE+crk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "23e89b7da85c3640bbc2173fe04f4bd114342367", + "rev": "ac35b104800bff9028425fec3b6e8a41de2bbfff", "type": "github" }, "original": { @@ -360,11 +360,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1731797254, - "narHash": "sha256-df3dJApLPhd11AlueuoN0Q4fHo/hagP75LlM5K1sz9g=", + "lastModified": 1733016324, + "narHash": "sha256-8qwPSE2g1othR1u4uP86NXxm6i7E9nHPyJX3m3lx7Q4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e8c38b73aeb218e27163376a2d617e61a2ad9b59", + "rev": "7e1ca67996afd8233d9033edd26e442836cc2ad6", "type": "github" }, "original": { @@ -448,11 +448,11 @@ ] }, "locked": { - "lastModified": 1732575825, - "narHash": "sha256-xtt95+c7OUMoqZf4OvA/7AemiH3aVuWHQbErYQoPwFk=", + "lastModified": 1733128155, + "narHash": "sha256-m6/qwJAJYcidGMEdLqjKzRIjapK4nUfMq7rDCTmZajc=", "owner": "Mic92", "repo": "sops-nix", - "rev": "3433ea14fbd9e6671d0ff0dd45ed15ee4c156ffa", + "rev": "c6134b6fff6bda95a1ac872a2a9d5f32e3c37856", "type": "github" }, "original": { @@ -468,11 +468,11 @@ ] }, "locked": { - "lastModified": 1732575825, - "narHash": "sha256-xtt95+c7OUMoqZf4OvA/7AemiH3aVuWHQbErYQoPwFk=", + "lastModified": 1733128155, + "narHash": "sha256-m6/qwJAJYcidGMEdLqjKzRIjapK4nUfMq7rDCTmZajc=", "owner": "Mic92", "repo": "sops-nix", - "rev": "3433ea14fbd9e6671d0ff0dd45ed15ee4c156ffa", + "rev": "c6134b6fff6bda95a1ac872a2a9d5f32e3c37856", "type": "github" }, "original": { @@ -500,11 +500,11 @@ "tinted-tmux": "tinted-tmux" }, "locked": { - "lastModified": 1732608183, - "narHash": "sha256-T5k5ill+PNIEW6KuS4CpUacMtZNJe2J2q5eBOF4xWuU=", + "lastModified": 1732993760, + "narHash": "sha256-t1J6wgzGjvvGNfdd0ei8HnZf9sTw+SpvCNAX0i6Qgwc=", "owner": "danth", "repo": "stylix", - "rev": "7689e621f87bce7b6ab1925dfd70ad1f4c80f334", + "rev": "d13ffb381c83b6139b9d67feff7addf18f8408fe", "type": "github" }, "original": { diff --git a/modules/wm/firefox/userChrome.nix b/modules/wm/firefox/userChrome.nix index 085a629..4861f81 100644 --- a/modules/wm/firefox/userChrome.nix +++ b/modules/wm/firefox/userChrome.nix @@ -7,10 +7,9 @@ config = lib.mkIf config.firefox.enable { home-manager.users.${username} = { programs.firefox = { - enable = true; profiles.${username} = { userChrome = '' - #alltabs-button { display: none !important; } + #alltabs-button { display: none !important; } @namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; :root { @@ -291,6 +290,10 @@ #PersonalToolbar toolbarbutton:hover { background-color: var(--toolbar-btn-hover) !important; } + hbox.titlebar-spacer { + display: none !important; + } + ''; diff --git a/modules/wm/stylix/default.nix b/modules/wm/stylix/default.nix index c35aa8a..141beb8 100644 --- a/modules/wm/stylix/default.nix +++ b/modules/wm/stylix/default.nix @@ -45,7 +45,7 @@ in { fonts = { monospace = { - package = pkgs.nerdfonts.override {fonts = ["RobotoMono"];}; + package = pkgs.nerd-fonts.roboto-mono; name = "RobotoMono Nerd Font"; }; sizes = { @@ -63,6 +63,7 @@ in { rofi.enable = false; dunst.enable = false; helix.enable = false; + firefox.enable = false; }; }; xresources.path = ".config/.Xresources";