From 508da275c45c26520590abcc683e2edda2c3f9eb Mon Sep 17 00:00:00 2001 From: installer Date: Wed, 19 Mar 2025 02:26:55 +0100 Subject: [PATCH] =?UTF-8?q?Aktualizacja=20zale=C5=BCno=C5=9Bci=20i=20popra?= =?UTF-8?q?wki=20w=20konfiguracji=20Nix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Zaktualizowano plik `flake.lock` do najnowszych wersji zależności. - Uproszczono `stylix.nix`, usuwając zbędne komentarze i parametry. - W `programs.librewolf.nix` zastąpiono przypisanie ustawień przez `lib.mkDefault`. - Dodano `librewolf.profileNames` w `styles.nix`, co może poprawić konfigurację Librewolf. --- flake.lock | 18 +++++++++--------- hosts/garand-laptop/config/stylix.nix | 7 +------ .../garand-laptop/home/programs.librewolf.nix | 3 ++- hosts/garand-laptop/home/styles.nix | 2 ++ 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/flake.lock b/flake.lock index f30b024..609de18 100644 --- a/flake.lock +++ b/flake.lock @@ -96,11 +96,11 @@ }, "locked": { "dir": "pkgs/firefox-addons", - "lastModified": 1742097805, - "narHash": "sha256-N3/7llBZ93Itf7ndnNtEm7lPoMqSC57B/PNaMB6cL1Q=", + "lastModified": 1742327995, + "narHash": "sha256-cvqCqT7op8uRCIPUYK8CPJbRRmKytFtOzHqomMyO7u8=", "owner": "rycee", "repo": "nur-expressions", - "rev": "5a0ac85616aa6b166ea715a41bc1255bb802b189", + "rev": "d91a2ea080804c3a9213d6e460e8cff68cfacf8d", "type": "gitlab" }, "original": { @@ -287,11 +287,11 @@ ] }, "locked": { - "lastModified": 1741955947, - "narHash": "sha256-2lbURKclgKqBNm7hVRtWh0A7NrdsibD0EaWhahUVhhY=", + "lastModified": 1742326330, + "narHash": "sha256-Tumt3tcMXJniSh7tw2gW+WAnVLeB3WWm+E+yYFnLBXo=", "owner": "nix-community", "repo": "home-manager", - "rev": "4e12151c9e014e2449e0beca2c0e9534b96a26b4", + "rev": "22a36aa709de7dd42b562a433b9cefecf104a6ee", "type": "github" }, "original": { @@ -375,11 +375,11 @@ "tinted-zed": "tinted-zed" }, "locked": { - "lastModified": 1742040559, - "narHash": "sha256-Hb3aw00C1/5ORiTCASwMd8vcLAl/GNJfyjXZyl/EKpc=", + "lastModified": 1742299802, + "narHash": "sha256-enlpX8hwrfmjv/dHTKWzAB5Cwt1Kr6+ptikjX3Ob+FY=", "owner": "danth", "repo": "stylix", - "rev": "bcc674f1994396137438bac9d905971453d33b12", + "rev": "ff9ae322bcaeccabc65812390000276455331123", "type": "github" }, "original": { diff --git a/hosts/garand-laptop/config/stylix.nix b/hosts/garand-laptop/config/stylix.nix index 938f7f2..ca2aeed 100644 --- a/hosts/garand-laptop/config/stylix.nix +++ b/hosts/garand-laptop/config/stylix.nix @@ -1,11 +1,6 @@ -{ - pkgs, - # host, - ... -}: { +{pkgs, ...}: { # Styling Options stylix = { - # targets.librewolf.profileNames = ["${host}"]; enable = true; image = ../../../config/wallpapers/attack-on-titan-mikasa-ackerman.jpg; # base16Scheme = { diff --git a/hosts/garand-laptop/home/programs.librewolf.nix b/hosts/garand-laptop/home/programs.librewolf.nix index fa72ce6..69972c1 100644 --- a/hosts/garand-laptop/home/programs.librewolf.nix +++ b/hosts/garand-laptop/home/programs.librewolf.nix @@ -1,5 +1,6 @@ { pkgs, + lib, inputs, system, host, @@ -16,7 +17,7 @@ id = 0; isDefault = true; name = "${host}"; - settings = { + settings = lib.mkDefault { # Preferences (about:config) "general.useragent.locale" = "pl"; "intl.locale.requested" = "pl,en-US"; diff --git a/hosts/garand-laptop/home/styles.nix b/hosts/garand-laptop/home/styles.nix index 945d27e..dc8397f 100644 --- a/hosts/garand-laptop/home/styles.nix +++ b/hosts/garand-laptop/home/styles.nix @@ -1,11 +1,13 @@ { pkgs, lib, + host, ... }: { # Styling Options stylix = { targets = { + librewolf.profileNames = ["${host}"]; waybar = { enable = false; };