diff --git a/common/boot.nix b/common/boot.nix index f0f4b92..a5d9155 100644 --- a/common/boot.nix +++ b/common/boot.nix @@ -11,19 +11,6 @@ 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 f667d2a..7ec5aa9 100644 --- a/flake.lock +++ b/flake.lock @@ -10,11 +10,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1754433428, - "narHash": "sha256-NA/FT2hVhKDftbHSwVnoRTFhes62+7dxZbxj5Gxvghs=", + "lastModified": 1760836749, + "narHash": "sha256-wyT7Pl6tMFbFrs8Lk/TlEs81N6L+VSybPfiIgzU8lbQ=", "owner": "ryantm", "repo": "agenix", - "rev": "9edb1787864c4f59ae5074ad498b6272b3ec308d", + "rev": "2f0f812f69f3eb4140157fe15e12739adf82e32a", "type": "github" }, "original": { @@ -52,11 +52,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1756770412, - "narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=", + "lastModified": 1760948891, + "narHash": "sha256-TmWcdiUUaWk8J4lpjzu4gCGxWY6/Ok7mOK4fIFfBuU4=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "4524271976b625a4a605beefd893f270620fd751", + "rev": "864599284fc7c0ba6357ed89ed5e2cd5040f0c04", "type": "github" }, "original": { @@ -87,11 +87,11 @@ ] }, "locked": { - "lastModified": 1756679287, - "narHash": "sha256-Xd1vOeY9ccDf5VtVK12yM0FS6qqvfUop8UQlxEB+gTQ=", + "lastModified": 1758463745, + "narHash": "sha256-uhzsV0Q0I9j2y/rfweWeGif5AWe0MGrgZ/3TjpDYdGA=", "owner": "nix-community", "repo": "home-manager", - "rev": "07fc025fe10487dd80f2ec694f1cd790e752d0e8", + "rev": "3b955f5f0a942f9f60cdc9cacb7844335d0f21c3", "type": "github" }, "original": { @@ -108,11 +108,11 @@ ] }, "locked": { - "lastModified": 1757256385, - "narHash": "sha256-WK7tOhWwr15mipcckhDg2no/eSpM1nIh4C9le8HgHhk=", + "lastModified": 1761344779, + "narHash": "sha256-6LNSptFYhiAd0M/maJoixJw7V0Kp5BSoMRtIahcfu3M=", "owner": "nix-community", "repo": "home-manager", - "rev": "f35703b412c67b48e97beb6e27a6ab96a084cd37", + "rev": "c644cb018f9fdec55f5ac2afb4713a8c7beb757c", "type": "github" }, "original": { @@ -123,11 +123,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1757244434, - "narHash": "sha256-AeqTqY0Y95K1Fgs6wuT1LafBNcmKxcOkWnm4alD9pqM=", + "lastModified": 1761173472, + "narHash": "sha256-m9W0dYXflzeGgKNravKJvTMR4Qqa2MVD11AwlGMufeE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "092c565d333be1e17b4779ac22104338941d913f", + "rev": "c8aa8cc00a5cb57fada0851a038d35c08a36a2bb", "type": "github" }, "original": { @@ -154,11 +154,11 @@ }, "nixpkgs-small": { "locked": { - "lastModified": 1757312038, - "narHash": "sha256-34XfbJT/fDl4OQNbtx1dHQRQGRodnHtZcM3VlM9d/5o=", + "lastModified": 1761294158, + "narHash": "sha256-woFH58dy/EDeL1Li4IarZE9+0p0zdPmCsxCvKA7oYu4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "16721e9cbabc2847dd62591e5ec8f2ea54379588", + "rev": "e7b2e554a77018dec2f259b782d062500c133d49", "type": "github" }, "original": { @@ -170,11 +170,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1757068644, - "narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=", + "lastModified": 1761114652, + "narHash": "sha256-f/QCJM/YhrV/lavyCVz8iU3rlZun6d+dAiC3H+CDle4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "8eb28adfa3dc4de28e792e3bf49fcf9007ca8ac9", + "rev": "01f116e4df6a15f4ccdffb1bcd41096869fb385c", "type": "github" }, "original": { @@ -186,11 +186,11 @@ }, "nixpkgs-unstable-small": { "locked": { - "lastModified": 1757308260, - "narHash": "sha256-y/mYfpaSicNLq3AtR6BrgK7MZl4PiAWAfnYjKHr/zEA=", + "lastModified": 1761293075, + "narHash": "sha256-bwBOolZn7sChWZ8JBCroQItOMJNBlLoJMxYk9mNXZ6E=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e568c4e9e6231f948f0d1f3c90859b41e8791186", + "rev": "642fae6c6a7fbd9b9a61e2d3fc849c99bb4d485a", "type": "github" }, "original": { @@ -210,11 +210,11 @@ ] }, "locked": { - "lastModified": 1756632588, - "narHash": "sha256-ydam6eggXf3ZwRutyCABwSbMAlX+5lW6w1SVZQ+kfSo=", + "lastModified": 1761078382, + "narHash": "sha256-JNJesbe9MMN1Brq41BHEpuH+Z+Zg74y/nI5AFZX84Vw=", "owner": "nix-community", "repo": "plasma-manager", - "rev": "d47428e5390d6a5a8f764808a4db15929347cd77", + "rev": "27dfa61b64d0cdb8e4ba6f3aaa4d4e067d64cb5c", "type": "github" }, "original": { @@ -226,11 +226,11 @@ "randomcat": { "flake": false, "locked": { - "lastModified": 1757296776, - "narHash": "sha256-j/0sale7a8dDl7fZJSujANEF8EGt6hHl+Cw1UXN8/Mk=", + "lastModified": 1761184576, + "narHash": "sha256-iU4BwJEpHkISUIM/9HjpFfWgD1dJPVWyhOAwKtPa5do=", "owner": "randomnetcat", "repo": "nix-configs", - "rev": "2fcdb2d229a34190cfa24edbeabf4f34bdd5099c", + "rev": "f1963827395d6c82a7e64267fde9b0c82da02380", "type": "github" }, "original": { diff --git a/home/qenya/firefox.nix b/home/qenya/firefox.nix index 1748484..969ab68 100644 --- a/home/qenya/firefox.nix +++ b/home/qenya/firefox.nix @@ -42,6 +42,33 @@ 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 87505c6..4fece58 100644 --- a/hosts/kilgharrah/default.nix +++ b/hosts/kilgharrah/default.nix @@ -33,7 +33,10 @@ 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; [ obs-studio ]; + home.packages = with pkgs; [ + heroic + obs-studio + ]; }; qenya.services.remote-builder = {