diff --git a/flake.lock b/flake.lock index 672f1bc..8670027 100644 --- a/flake.lock +++ b/flake.lock @@ -456,11 +456,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1725407940, - "narHash": "sha256-tiN5Rlg/jiY0tyky+soJZoRzLKbPyIdlQ77xVgREDNM=", + "lastModified": 1724727824, + "narHash": "sha256-0XH9MJk54imJm+RHOLTUJ7e+ponLW00tw5ke4MTVa1Y=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "6f6c45b5134a8ee2e465164811e451dcb5ad86e3", + "rev": "36bae45077667aff5720e5b3f1a5458f51cf0776", "type": "github" }, "original": { diff --git a/hosts/monolith/default.nix b/hosts/monolith/default.nix index e496755..702bbd9 100644 --- a/hosts/monolith/default.nix +++ b/hosts/monolith/default.nix @@ -36,6 +36,8 @@ in hardware.opentabletdriver.enable = true; + boot.kernelPackages = pkgs.linuxPackages_latest; + boot.extraModulePackages = with config.boot.kernelPackages; [ zenpower ]; boot.initrd.kernelModules = [ "amdgpu" ]; boot.kernelModules = [ diff --git a/hosts/monolith/undervolt.nix b/hosts/monolith/undervolt.nix index 9f60aee..1bd6c28 100644 --- a/hosts/monolith/undervolt.nix +++ b/hosts/monolith/undervolt.nix @@ -6,7 +6,7 @@ let echo "manual" > power_dpm_force_performance_level echo "1" > pp_power_profile_mode test -e pp_od_clk_voltage - echo "vo -120" > pp_od_clk_voltage + echo "vo -100" > pp_od_clk_voltage echo "c" > pp_od_clk_voltage ''; in diff --git a/user/firefox.nix b/user/firefox.nix index e2c0f4f..9650b73 100644 --- a/user/firefox.nix +++ b/user/firefox.nix @@ -64,19 +64,28 @@ in .toolbar-items { display: none; } + #private-browsing-indicator-with-label { + display: none; + } + + /* Create a horizontal container */ + #navigator-toolbox { + display: grid; + grid-template-columns: 1fr 50px; + } /* Make the url bar occupy the entire size of the container */ #nav-bar { + grid-column: 1 / 3; + grid-row: 1; z-index: 1; padding-right: 29px !important; } /* shrink the tab bar to a small size, since it's only the window close button basically */ #titlebar { - position: absolute; - right: 0; - top: 10px; max-width: 50px; + grid-area: 1 / 2; z-index: 10; } @@ -85,19 +94,6 @@ in border-top-left-radius: 10px; border-top-right-radius: 10px; } - - /* Make the private browser indicator look nice, over the close-window button */ - #private-browsing-indicator-with-label { - position: absolute; - top: 4px; - left: 15px; - z-index: 20; - pointer-events: none; - } - - #private-browsing-indicator-with-label > label { - display: none; - } ''; }; };