diff --git a/flake.lock b/flake.lock index d40aabe..95d4e8a 100644 --- a/flake.lock +++ b/flake.lock @@ -188,22 +188,6 @@ } }, "firefox-gnome-theme": { - "flake": false, - "locked": { - "lastModified": 1744642301, - "narHash": "sha256-5A6LL7T0lttn1vrKsNOKUk9V0ittdW0VEqh6AtefxJ4=", - "owner": "rafaelmardojai", - "repo": "firefox-gnome-theme", - "rev": "59e3de00f01e5adb851d824cf7911bd90c31083a", - "type": "github" - }, - "original": { - "owner": "rafaelmardojai", - "repo": "firefox-gnome-theme", - "type": "github" - } - }, - "firefox-gnome-theme_2": { "flake": false, "locked": { "lastModified": 1743774811, @@ -238,11 +222,11 @@ "flake-compat_2": { "flake": false, "locked": { - "lastModified": 1696426674, - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "lastModified": 1747046372, + "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=", "owner": "edolstra", "repo": "flake-compat", - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885", "type": "github" }, "original": { @@ -376,12 +360,12 @@ "git-hooks": { "inputs": { "flake-compat": [ - "nixvim", + "nixos-mailserver", "flake-compat" ], "gitignore": "gitignore", "nixpkgs": [ - "nixvim", + "nixos-mailserver", "nixpkgs" ] }, @@ -400,12 +384,38 @@ } }, "git-hooks_2": { + "inputs": { + "flake-compat": [ + "nixvim", + "flake-compat" + ], + "gitignore": "gitignore_2", + "nixpkgs": [ + "nixvim", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1742649964, + "narHash": "sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco=", + "owner": "cachix", + "repo": "git-hooks.nix", + "rev": "dcf5072734cb576d2b0c59b2ac44f5050b5eac82", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "git-hooks.nix", + "type": "github" + } + }, + "git-hooks_3": { "inputs": { "flake-compat": [ "stylix", "flake-compat" ], - "gitignore": "gitignore_3", + "gitignore": "gitignore_4", "nixpkgs": [ "stylix", "nixpkgs" @@ -445,7 +455,7 @@ "gitignore": { "inputs": { "nixpkgs": [ - "nixvim", + "nixos-mailserver", "git-hooks", "nixpkgs" ] @@ -467,7 +477,8 @@ "gitignore_2": { "inputs": { "nixpkgs": [ - "pre-commit-hooks", + "nixvim", + "git-hooks", "nixpkgs" ] }, @@ -486,6 +497,27 @@ } }, "gitignore_3": { + "inputs": { + "nixpkgs": [ + "pre-commit-hooks", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709087332, + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, + "gitignore_4": { "inputs": { "nixpkgs": [ "stylix", @@ -552,11 +584,11 @@ ] }, "locked": { - "lastModified": 1747020534, - "narHash": "sha256-D/6rkiC6w2p+4SwRiVKrWIeYzun8FBg7NlMKMwQMxO0=", + "lastModified": 1747331121, + "narHash": "sha256-3MmiUN/jOHBHQUnjqzg6qKArc17j2OS6jisEppDY4g8=", "owner": "nix-community", "repo": "home-manager", - "rev": "b4bbdc6fde16fc2051fcde232f6e288cd22007ca", + "rev": "1eec32f0efe3b830927989767a9e6ece0d82d608", "type": "github" }, "original": { @@ -710,17 +742,18 @@ "inputs": { "blobs": "blobs", "flake-compat": "flake-compat_2", + "git-hooks": "git-hooks", "nixpkgs": [ "nixpkgs" ], "nixpkgs-24_11": "nixpkgs-24_11" }, "locked": { - "lastModified": 1746937334, - "narHash": "sha256-7g2GSePdYbpD1v5BxEVSCJ2Ogf4K5rc9sBB81FervUY=", + "lastModified": 1747320434, + "narHash": "sha256-wOW99SCOovRlX5y8+W1cRrS3mEN1QA0XTHMRfr3NMB8=", "owner": "simple-nixos-mailserver", "repo": "nixos-mailserver", - "rev": "da66510f688b7eac54e3cac7c75be4b8dd78ce8b", + "rev": "433520257af7170824ab6e567d49b8e305e776e9", "type": "gitlab" }, "original": { @@ -747,17 +780,18 @@ }, "nixpkgs-24_11": { "locked": { - "lastModified": 1734083684, - "narHash": "sha256-5fNndbndxSx5d+C/D0p/VF32xDiJCJzyOqorOYW4JEo=", + "lastModified": 1747209494, + "narHash": "sha256-fLise+ys+bpyjuUUkbwqo5W/UyIELvRz9lPBPoB0fbM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "314e12ba369ccdb9b352a4db26ff419f7c49fa84", + "rev": "5d736263df906c5da72ab0f372427814de2f52f8", "type": "github" }, "original": { - "id": "nixpkgs", + "owner": "NixOS", "ref": "nixos-24.11", - "type": "indirect" + "repo": "nixpkgs", + "type": "github" } }, "nixpkgs-unstable": { @@ -793,11 +827,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1746957726, - "narHash": "sha256-k9ut1LSfHCr0AW82ttEQzXVCqmyWVA5+SHJkS5ID/Jo=", + "lastModified": 1747209494, + "narHash": "sha256-fLise+ys+bpyjuUUkbwqo5W/UyIELvRz9lPBPoB0fbM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a39ed32a651fdee6842ec930761e31d1f242cb94", + "rev": "5d736263df906c5da72ab0f372427814de2f52f8", "type": "github" }, "original": { @@ -827,7 +861,7 @@ "devshell": "devshell", "flake-compat": "flake-compat_3", "flake-parts": "flake-parts", - "git-hooks": "git-hooks", + "git-hooks": "git-hooks_2", "home-manager": "home-manager_3", "nix-darwin": "nix-darwin", "nixpkgs": [ @@ -877,7 +911,7 @@ "pre-commit-hooks": { "inputs": { "flake-compat": "flake-compat_4", - "gitignore": "gitignore_2", + "gitignore": "gitignore_3", "nixpkgs": [ "nixpkgs" ] @@ -901,7 +935,6 @@ "agenix": "agenix", "deploy-rs": "deploy-rs", "disko": "disko", - "firefox-gnome-theme": "firefox-gnome-theme", "gitea-github-theme": "gitea-github-theme", "home-manager": "home-manager_2", "impermanence": "impermanence", @@ -939,10 +972,10 @@ "base16-fish": "base16-fish", "base16-helix": "base16-helix", "base16-vim": "base16-vim", - "firefox-gnome-theme": "firefox-gnome-theme_2", + "firefox-gnome-theme": "firefox-gnome-theme", "flake-compat": "flake-compat_5", "flake-utils": "flake-utils_2", - "git-hooks": "git-hooks_2", + "git-hooks": "git-hooks_3", "gnome-shell": "gnome-shell", "home-manager": "home-manager_4", "nixpkgs": "nixpkgs_4", diff --git a/flake.nix b/flake.nix index 37d265a..06bc753 100644 --- a/flake.nix +++ b/flake.nix @@ -15,10 +15,6 @@ url = "github:nix-community/home-manager/release-24.11"; inputs.nixpkgs.follows = "nixpkgs"; }; - firefox-gnome-theme = { - url = "github:rafaelmardojai/firefox-gnome-theme"; - flake = false; - }; gitea-github-theme = { url = "git+ssh://git@git.vimium.com/jordan/gitea-github-theme.git?ref=main"; flake = false; diff --git a/users/jordan/common/optional/graphical/firefox.nix b/users/jordan/common/optional/graphical/firefox.nix index 15342db..78bd565 100644 --- a/users/jordan/common/optional/graphical/firefox.nix +++ b/users/jordan/common/optional/graphical/firefox.nix @@ -1,10 +1,13 @@ { - inputs, ... }: { - home.file.".mozilla/firefox/Default/chrome/firefox-gnome-theme".source = inputs.firefox-gnome-theme; + stylix.targets.firefox = { + enable = true; + firefoxGnomeTheme.enable = true; + profileNames = [ "Default" ]; + }; programs.firefox = { enable = true; @@ -14,12 +17,6 @@ privateDefault = "DuckDuckGo"; force = true; }; - userChrome = '' - @import "firefox-gnome-theme/userChrome.css"; - ''; - userContent = '' - @import "firefox-gnome-theme/userContent.css"; - ''; settings = { ## GNOME theme "toolkit.legacyUserProfileCustomizations.stylesheets" = true; # Enable customChrome.css