diff --git a/common/boot.nix b/common/boot.nix index a5d9155..f0f4b92 100644 --- a/common/boot.nix +++ b/common/boot.nix @@ -11,6 +11,19 @@ in efi.canTouchEfiVariables = true; }; + boot.kernelPatches = optionals config.nixpkgs.hostPlatform.isx86 [ + # Fix the /proc/net/tcp seek issue + # Impacts tailscale: https://github.com/tailscale/tailscale/issues/16966 + { + name = "proc: fix missing pde_set_flags() for net proc files"; + patch = pkgs.fetchurl { + name = "fix-missing-pde_set_flags-for-net-proc-files.patch"; + url = "https://patchwork.kernel.org/project/linux-fsdevel/patch/20250821105806.1453833-1-wangzijie1@honor.com/raw/"; + hash = "sha256-DbQ8FiRj65B28zP0xxg6LvW5ocEH8AHOqaRbYZOTDXg="; + }; + } + ]; + services.resolved = { enable = true; fallbackDns = [ ]; diff --git a/flake.lock b/flake.lock index 7ec5aa9..f667d2a 100644 --- a/flake.lock +++ b/flake.lock @@ -10,11 +10,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1760836749, - "narHash": "sha256-wyT7Pl6tMFbFrs8Lk/TlEs81N6L+VSybPfiIgzU8lbQ=", + "lastModified": 1754433428, + "narHash": "sha256-NA/FT2hVhKDftbHSwVnoRTFhes62+7dxZbxj5Gxvghs=", "owner": "ryantm", "repo": "agenix", - "rev": "2f0f812f69f3eb4140157fe15e12739adf82e32a", + "rev": "9edb1787864c4f59ae5074ad498b6272b3ec308d", "type": "github" }, "original": { @@ -52,11 +52,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1760948891, - "narHash": "sha256-TmWcdiUUaWk8J4lpjzu4gCGxWY6/Ok7mOK4fIFfBuU4=", + "lastModified": 1756770412, + "narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "864599284fc7c0ba6357ed89ed5e2cd5040f0c04", + "rev": "4524271976b625a4a605beefd893f270620fd751", "type": "github" }, "original": { @@ -87,11 +87,11 @@ ] }, "locked": { - "lastModified": 1758463745, - "narHash": "sha256-uhzsV0Q0I9j2y/rfweWeGif5AWe0MGrgZ/3TjpDYdGA=", + "lastModified": 1756679287, + "narHash": "sha256-Xd1vOeY9ccDf5VtVK12yM0FS6qqvfUop8UQlxEB+gTQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "3b955f5f0a942f9f60cdc9cacb7844335d0f21c3", + "rev": "07fc025fe10487dd80f2ec694f1cd790e752d0e8", "type": "github" }, "original": { @@ -108,11 +108,11 @@ ] }, "locked": { - "lastModified": 1761344779, - "narHash": "sha256-6LNSptFYhiAd0M/maJoixJw7V0Kp5BSoMRtIahcfu3M=", + "lastModified": 1757256385, + "narHash": "sha256-WK7tOhWwr15mipcckhDg2no/eSpM1nIh4C9le8HgHhk=", "owner": "nix-community", "repo": "home-manager", - "rev": "c644cb018f9fdec55f5ac2afb4713a8c7beb757c", + "rev": "f35703b412c67b48e97beb6e27a6ab96a084cd37", "type": "github" }, "original": { @@ -123,11 +123,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1761173472, - "narHash": "sha256-m9W0dYXflzeGgKNravKJvTMR4Qqa2MVD11AwlGMufeE=", + "lastModified": 1757244434, + "narHash": "sha256-AeqTqY0Y95K1Fgs6wuT1LafBNcmKxcOkWnm4alD9pqM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c8aa8cc00a5cb57fada0851a038d35c08a36a2bb", + "rev": "092c565d333be1e17b4779ac22104338941d913f", "type": "github" }, "original": { @@ -154,11 +154,11 @@ }, "nixpkgs-small": { "locked": { - "lastModified": 1761294158, - "narHash": "sha256-woFH58dy/EDeL1Li4IarZE9+0p0zdPmCsxCvKA7oYu4=", + "lastModified": 1757312038, + "narHash": "sha256-34XfbJT/fDl4OQNbtx1dHQRQGRodnHtZcM3VlM9d/5o=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e7b2e554a77018dec2f259b782d062500c133d49", + "rev": "16721e9cbabc2847dd62591e5ec8f2ea54379588", "type": "github" }, "original": { @@ -170,11 +170,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1761114652, - "narHash": "sha256-f/QCJM/YhrV/lavyCVz8iU3rlZun6d+dAiC3H+CDle4=", + "lastModified": 1757068644, + "narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "01f116e4df6a15f4ccdffb1bcd41096869fb385c", + "rev": "8eb28adfa3dc4de28e792e3bf49fcf9007ca8ac9", "type": "github" }, "original": { @@ -186,11 +186,11 @@ }, "nixpkgs-unstable-small": { "locked": { - "lastModified": 1761293075, - "narHash": "sha256-bwBOolZn7sChWZ8JBCroQItOMJNBlLoJMxYk9mNXZ6E=", + "lastModified": 1757308260, + "narHash": "sha256-y/mYfpaSicNLq3AtR6BrgK7MZl4PiAWAfnYjKHr/zEA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "642fae6c6a7fbd9b9a61e2d3fc849c99bb4d485a", + "rev": "e568c4e9e6231f948f0d1f3c90859b41e8791186", "type": "github" }, "original": { @@ -210,11 +210,11 @@ ] }, "locked": { - "lastModified": 1761078382, - "narHash": "sha256-JNJesbe9MMN1Brq41BHEpuH+Z+Zg74y/nI5AFZX84Vw=", + "lastModified": 1756632588, + "narHash": "sha256-ydam6eggXf3ZwRutyCABwSbMAlX+5lW6w1SVZQ+kfSo=", "owner": "nix-community", "repo": "plasma-manager", - "rev": "27dfa61b64d0cdb8e4ba6f3aaa4d4e067d64cb5c", + "rev": "d47428e5390d6a5a8f764808a4db15929347cd77", "type": "github" }, "original": { @@ -226,11 +226,11 @@ "randomcat": { "flake": false, "locked": { - "lastModified": 1761184576, - "narHash": "sha256-iU4BwJEpHkISUIM/9HjpFfWgD1dJPVWyhOAwKtPa5do=", + "lastModified": 1757296776, + "narHash": "sha256-j/0sale7a8dDl7fZJSujANEF8EGt6hHl+Cw1UXN8/Mk=", "owner": "randomnetcat", "repo": "nix-configs", - "rev": "f1963827395d6c82a7e64267fde9b0c82da02380", + "rev": "2fcdb2d229a34190cfa24edbeabf4f34bdd5099c", "type": "github" }, "original": { diff --git a/home/qenya/firefox.nix b/home/qenya/firefox.nix index 969ab68..1748484 100644 --- a/home/qenya/firefox.nix +++ b/home/qenya/firefox.nix @@ -42,33 +42,6 @@ in }; profiles.default = { - search = { - force = true; - default = "leta"; - privateDefault = "leta"; - order = [ "leta" "searxng" ]; - engines = { - searxng = { - name = "SearXNG metasearch"; - description = "SearXNG is a metasearch engine that respects your privacy."; - urls = [{ - method = "POST"; - template = "https://sx.catgirl.cloud/search"; - params = [{ name = "q"; value = "{searchTerms}"; }]; - }]; - icon = "https://sx.catgirl.cloud/static/themes/simple/img/favicon.png"; - definedAliases = [ "@sx" ]; - }; - leta = { - name = "Mullvad Leta"; - description = "A privacy focused search engine provided by Mullvad."; - urls = [{ template = "https://leta.mullvad.net/search?q={searchTerms}&engine=google"; }]; - iconMapObj."16" = "https://mullvad.net/favicon.ico"; - definedAliases = [ "@leta" ]; - }; - }; - }; - settings = { "browser.startup.page" = 3; # resume previous session "browser.newtabpage.activity-stream.showSponsored" = false; diff --git a/hosts/kilgharrah/default.nix b/hosts/kilgharrah/default.nix index 4fece58..87505c6 100644 --- a/hosts/kilgharrah/default.nix +++ b/hosts/kilgharrah/default.nix @@ -33,10 +33,7 @@ in users.users.qenya.hashedPasswordFile = config.age.secrets.user-password-kilgharrah-qenya.path; fountain.admins = [ "qenya" ]; home-manager.users.qenya = { pkgs, ... }: { - home.packages = with pkgs; [ - heroic - obs-studio - ]; + home.packages = with pkgs; [ obs-studio ]; }; qenya.services.remote-builder = {