From d187a67afe0706b5d6163b040d313c26a4ea2d7e Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Tue, 28 Oct 2025 22:09:34 +0800 Subject: [PATCH 1/8] fix: Fix unused code in nix --- home/david/modules/programs/spacemacs/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/david/modules/programs/spacemacs/default.nix b/home/david/modules/programs/spacemacs/default.nix index 88f4696..b3bdf46 100644 --- a/home/david/modules/programs/spacemacs/default.nix +++ b/home/david/modules/programs/spacemacs/default.nix @@ -32,7 +32,7 @@ in enable = true; package = with pkgs'; - (emacsPackagesFor emacs-pgtk).emacsWithPackages (epkgs: [ + (emacsPackagesFor emacs-pgtk).emacsWithPackages (_epkgs: [ git gnutar ripgrep From 1e6d5fbe023760b2bfb8423cf25c62c87d5ae37d Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Tue, 28 Oct 2025 23:22:41 +0800 Subject: [PATCH 2/8] feat: Use nixpkgs dae module instead of dae/flake --- flake.lock | 24 ------------------------ flake.nix | 10 ---------- nixos/modules/programs/dae/config.dae | 4 ++-- nixos/modules/programs/dae/default.nix | 9 +++++++-- nixos/modules/top-level/default.nix | 1 - overlays/modifications/dae.nix | 8 -------- overlays/modifications/default.nix | 1 - 7 files changed, 9 insertions(+), 48 deletions(-) delete mode 100644 overlays/modifications/dae.nix diff --git a/flake.lock b/flake.lock index 1bd519b..c8c19fa 100644 --- a/flake.lock +++ b/flake.lock @@ -128,29 +128,6 @@ "type": "github" } }, - "dae": { - "inputs": { - "flake-parts": [ - "flake-parts" - ], - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1758615062, - "narHash": "sha256-fX71EN6uogg0fEu/j/iZVjzupMqtuv2DY7Xl/xJQNbo=", - "owner": "daeuniverse", - "repo": "flake.nix", - "rev": "4fa18dd45954f8d56147594029c14822faa8ff42", - "type": "github" - }, - "original": { - "owner": "daeuniverse", - "repo": "flake.nix", - "type": "github" - } - }, "deploy-rs": { "inputs": { "flake-compat": "flake-compat", @@ -1430,7 +1407,6 @@ "inputs": { "betterfox-nix": "betterfox-nix", "chaotic": "chaotic", - "dae": "dae", "deploy-rs": "deploy-rs", "disko": "disko", "emacs-overlay": "emacs-overlay", diff --git a/flake.nix b/flake.nix index c33a7b1..6b20270 100644 --- a/flake.nix +++ b/flake.nix @@ -106,16 +106,6 @@ ref = "master"; }; - dae = { - type = "github"; - owner = "daeuniverse"; - repo = "flake.nix"; - inputs = { - nixpkgs.follows = "nixpkgs"; - flake-parts.follows = "flake-parts"; - }; - }; - flake-parts = { type = "github"; owner = "hercules-ci"; diff --git a/nixos/modules/programs/dae/config.dae b/nixos/modules/programs/dae/config.dae index 51b8383..7133c7e 100644 --- a/nixos/modules/programs/dae/config.dae +++ b/nixos/modules/programs/dae/config.dae @@ -1,6 +1,6 @@ include { - proxy.d/*.dae - local.d/*.dae + proxy.d_*.dae + local.d_*.dae } global { diff --git a/nixos/modules/programs/dae/default.nix b/nixos/modules/programs/dae/default.nix index 1f369e2..84c2b36 100644 --- a/nixos/modules/programs/dae/default.nix +++ b/nixos/modules/programs/dae/default.nix @@ -18,13 +18,12 @@ in (lib.mkIf cfg.enable { services.dae = { enable = true; - package = pkgs.dae; openFirewall = { enable = true; port = 12345; }; disableTxChecksumIpGeneric = false; - config = builtins.readFile ./config.dae; + configFile = toString ./config.dae; }; sops.secrets.url = { mode = "0444"; @@ -125,6 +124,12 @@ in ]; }; }; + dae = { + serviceConfig.LoadCredential = [ + "proxy.d:/etc/dae/proxy.d" + "local.d:/etc/dae/local.d" + ]; + }; }; }) (lib.mkIf (cfg.enable && config.youthlic.programs.juicity.client.enable) { diff --git a/nixos/modules/top-level/default.nix b/nixos/modules/top-level/default.nix index bf66b27..5438a85 100644 --- a/nixos/modules/top-level/default.nix +++ b/nixos/modules/top-level/default.nix @@ -7,7 +7,6 @@ { imports = with inputs; [ home-manager.nixosModules.home-manager - dae.nixosModules.dae sops-nix.nixosModules.sops stylix.nixosModules.stylix disko.nixosModules.disko diff --git a/overlays/modifications/dae.nix b/overlays/modifications/dae.nix deleted file mode 100644 index ed1ea31..0000000 --- a/overlays/modifications/dae.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ inputs, ... }: -_final: prev: -let - inherit (prev.stdenv.hostPlatform) system; -in -{ - dae = inputs.dae.packages."${system}".dae-unstable; -} diff --git a/overlays/modifications/default.nix b/overlays/modifications/default.nix index 7b6c28a..c8200cf 100644 --- a/overlays/modifications/default.nix +++ b/overlays/modifications/default.nix @@ -5,7 +5,6 @@ let in [ ./niri.nix - ./dae.nix ./spotifyx.nix ./radicle-explorer.nix ./wshowkeys.nix From 0ca48550ed4bf359091b583e2b6d93f4057ea357 Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Tue, 28 Oct 2025 23:22:41 +0800 Subject: [PATCH 3/8] fix: Add new typo rule for osu-lazer --- .typos.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.typos.toml b/.typos.toml index df161e8..ca6d928 100644 --- a/.typos.toml +++ b/.typos.toml @@ -17,6 +17,12 @@ extend-ignore-re = [ # Line block with `(#|;;|//) spellchecker: (on|off)` "(?s)(#|//|;;)\\s*typochecker: off.*?\\n\\s*(#|//|;;)\\s*typochecker: on", ] -extend-ignore-identifiers-re = ["als", "Paket", "ConfiguratioN", "StructurE"] +extend-ignore-identifiers-re = [ + "als", + "Paket", + "ConfiguratioN", + "StructurE", + "lazer", +] [default.extend-identifiers] From 1d154b86bd37a4f7949840baa4eaf14d50c80655 Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Tue, 28 Oct 2025 23:22:41 +0800 Subject: [PATCH 4/8] feat: Change package sep from `/` to `:` --- flake/perSystem.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake/perSystem.nix b/flake/perSystem.nix index 9d74047..e46b620 100644 --- a/flake/perSystem.nix +++ b/flake/perSystem.nix @@ -61,7 +61,7 @@ path: value: if lib.isDerivation value then { - ${lib.concatStringsSep "/" path} = value; + ${lib.concatStringsSep ":" path} = value; } else if lib.isAttrs value then lib.concatMapAttrs (name: flattenPkgs (path ++ [ name ])) value From 0db7c6ec72aff8f57dd95c9c3b3cd322de2e5b73 Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Tue, 28 Oct 2025 23:22:41 +0800 Subject: [PATCH 5/8] feat: Use wechat-uos instead of wechat --- nixos/configurations/Tytonidae/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/configurations/Tytonidae/default.nix b/nixos/configurations/Tytonidae/default.nix index c81056c..f7fa43f 100644 --- a/nixos/configurations/Tytonidae/default.nix +++ b/nixos/configurations/Tytonidae/default.nix @@ -77,7 +77,7 @@ vlc btop handbrake - wechat + wechat-uos nvtopPackages.full spotify localsend From 1319168f0bd531646a67ba0173abb83b22fcd989 Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Tue, 28 Oct 2025 23:22:41 +0800 Subject: [PATCH 6/8] Update flake inputs 1. Use `stdenv.hostPlatform.system` instead of `system`. 2. Use `runCommand` instead of `runCommandNoCC`. 3. Add new nixpkgs instance for neochat. 4. Set niri config to null when other GUI module. --- flake.lock | 394 +++++++------------ flake.nix | 1 + home/david/configurations/Tytonidae/niri.nix | 7 +- home/david/modules/programs/niri/default.nix | 13 +- home/modules/programs/gpg/default.nix | 2 +- nixos/modules/nix.nix | 15 + pkgs/doom-emacs/package.nix | 8 +- pkgs/helix/package.nix | 3 +- pkgs/helix/runtime.nix | 8 +- pkgs/wallpapers.nix | 4 +- 10 files changed, 186 insertions(+), 269 deletions(-) diff --git a/flake.lock b/flake.lock index c8c19fa..cf3bde1 100644 --- a/flake.lock +++ b/flake.lock @@ -78,11 +78,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1760925526, - "narHash": "sha256-gymGcDqUpPlbaPPvzxZrM2KTF0kPLodCHepSFtvxdEg=", + "lastModified": 1761562526, + "narHash": "sha256-+mYl7DCF3Jex2hescIWVPgNODQdlP1uKtLoWlmv8n0U=", "owner": "HeitorAugustoLN", "repo": "betterfox-nix", - "rev": "05a3837b57f2d306cf43d4e901918f2d9187cfb2", + "rev": "ddcd4db899a98606f7714cb7b5b4eb916947478a", "type": "github" }, "original": { @@ -100,11 +100,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1760747305, - "narHash": "sha256-SsuuyaFp4TbJ+ofti9EXot9gIOk4vZqccat/zERVQN4=", + "lastModified": 1762007588, + "narHash": "sha256-y/djCrAJaqwa+hQjA9xKdycmQ9WsIaxBhgjOEoI2O5k=", "owner": "chaotic-cx", "repo": "nyx", - "rev": "9838e14b30857ac0a50dbe98a5ba2233d6ccb2de", + "rev": "423859d3450e95420d41ad8b5c6628e29c3f97d2", "type": "github" }, "original": { @@ -159,11 +159,11 @@ ] }, "locked": { - "lastModified": 1760701190, - "narHash": "sha256-y7UhnWlER8r776JsySqsbTUh2Txf7K30smfHlqdaIQw=", + "lastModified": 1761899396, + "narHash": "sha256-XOpKBp6HLzzMCbzW50TEuXN35zN5WGQREC7n34DcNMM=", "owner": "nix-community", "repo": "disko", - "rev": "3a9450b26e69dcb6f8de6e2b07b3fc1c288d85f5", + "rev": "6f4cf5abbe318e4cd1e879506f6eeafd83f7b998", "type": "github" }, "original": { @@ -194,11 +194,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1760951609, - "narHash": "sha256-rWkUWKWcLin0+dKvinWC1IZVxJnIvXV3q/wlmmKkzo4=", + "lastModified": 1761985492, + "narHash": "sha256-h0d1DG0dp7mrrQoe+sUmtZvnYhbGAyI/pr9bgYfHb9M=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "41bee8f6a80b36b0348a8e750e5db88fea528171", + "rev": "11c52dbdbf5bacf57ce3fd7b0cbe359a3e23eb3c", "type": "github" }, "original": { @@ -217,11 +217,11 @@ ] }, "locked": { - "lastModified": 1760948693, - "narHash": "sha256-6Yg+MuZjxpoHZkVyoDv+izjB2wFMG22wA7yNXaGLv1I=", + "lastModified": 1761985492, + "narHash": "sha256-h0d1DG0dp7mrrQoe+sUmtZvnYhbGAyI/pr9bgYfHb9M=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "264e26504e789be07637ca74d1370fcd1cb0b716", + "rev": "11c52dbdbf5bacf57ce3fd7b0cbe359a3e23eb3c", "type": "github" }, "original": { @@ -278,38 +278,6 @@ "type": "github" } }, - "flake-compat_3": { - "flake": false, - "locked": { - "lastModified": 1747046372, - "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-compat_4": { - "flake": false, - "locked": { - "lastModified": 1747046372, - "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, "flake-parts": { "inputs": { "nixpkgs-lib": [ @@ -318,11 +286,11 @@ ] }, "locked": { - "lastModified": 1760813311, - "narHash": "sha256-lbHQ7FXGzt6/IygWvJ1lCq+Txcut3xYYd6VIpF1ojkg=", + "lastModified": 1760948891, + "narHash": "sha256-TmWcdiUUaWk8J4lpjzu4gCGxWY6/Ok7mOK4fIFfBuU4=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "4e627ac2e1b8f1de7f5090064242de9a259dbbc8", + "rev": "864599284fc7c0ba6357ed89ed5e2cd5040f0c04", "type": "github" }, "original": { @@ -378,11 +346,11 @@ ] }, "locked": { - "lastModified": 1760813311, - "narHash": "sha256-lbHQ7FXGzt6/IygWvJ1lCq+Txcut3xYYd6VIpF1ojkg=", + "lastModified": 1760948891, + "narHash": "sha256-TmWcdiUUaWk8J4lpjzu4gCGxWY6/Ok7mOK4fIFfBuU4=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "4e627ac2e1b8f1de7f5090064242de9a259dbbc8", + "rev": "864599284fc7c0ba6357ed89ed5e2cd5040f0c04", "type": "github" }, "original": { @@ -396,11 +364,11 @@ "nixpkgs-lib": "nixpkgs-lib_2" }, "locked": { - "lastModified": 1760813311, - "narHash": "sha256-lbHQ7FXGzt6/IygWvJ1lCq+Txcut3xYYd6VIpF1ojkg=", + "lastModified": 1760948891, + "narHash": "sha256-TmWcdiUUaWk8J4lpjzu4gCGxWY6/Ok7mOK4fIFfBuU4=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "4e627ac2e1b8f1de7f5090064242de9a259dbbc8", + "rev": "864599284fc7c0ba6357ed89ed5e2cd5040f0c04", "type": "github" }, "original": { @@ -417,11 +385,11 @@ ] }, "locked": { - "lastModified": 1759362264, - "narHash": "sha256-wfG0S7pltlYyZTM+qqlhJ7GMw2fTF4mLKCIVhLii/4M=", + "lastModified": 1760948891, + "narHash": "sha256-TmWcdiUUaWk8J4lpjzu4gCGxWY6/Ok7mOK4fIFfBuU4=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "758cf7296bee11f1706a574c77d072b8a7baa881", + "rev": "864599284fc7c0ba6357ed89ed5e2cd5040f0c04", "type": "github" }, "original": { @@ -550,29 +518,6 @@ "type": "github" } }, - "git-hooks": { - "inputs": { - "flake-compat": "flake-compat_4", - "gitignore": "gitignore_2", - "nixpkgs": [ - "neovim-nightly", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1760663237, - "narHash": "sha256-BflA6U4AM1bzuRMR8QqzPXqh8sWVCNDzOdsxXEguJIc=", - "owner": "cachix", - "repo": "git-hooks.nix", - "rev": "ca5b894d3e3e151ffc1db040b6ce4dcc75d31c37", - "type": "github" - }, - "original": { - "owner": "cachix", - "repo": "git-hooks.nix", - "type": "github" - } - }, "gitignore": { "inputs": { "nixpkgs": [ @@ -595,28 +540,6 @@ "type": "github" } }, - "gitignore_2": { - "inputs": { - "nixpkgs": [ - "neovim-nightly", - "git-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" - } - }, "gnome-shell": { "flake": false, "locked": { @@ -642,11 +565,11 @@ "rust-overlay": "rust-overlay_2" }, "locked": { - "lastModified": 1760832569, - "narHash": "sha256-wg925OdUZdhjJub5XfpBTWQ3EOJYH7JnaBWHfh849J4=", + "lastModified": 1761920229, + "narHash": "sha256-KeTcNpj5UloRTq8fO43NKEFf9a7dpETQq9ynCSgUoxM=", "owner": "helix-editor", "repo": "helix", - "rev": "97aee4950fd9a08a78415cd8992354ae5cf3aaf0", + "rev": "5a92474bf0453715e3139eccaaccf3264bfb2001", "type": "github" }, "original": { @@ -656,31 +579,6 @@ "type": "github" } }, - "hercules-ci-effects": { - "inputs": { - "flake-parts": [ - "neovim-nightly", - "flake-parts" - ], - "nixpkgs": [ - "neovim-nightly", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1758022363, - "narHash": "sha256-ENUhCRWgSX4ni751HieNuQoq06dJvApV/Nm89kh+/A0=", - "owner": "hercules-ci", - "repo": "hercules-ci-effects", - "rev": "1a3667d33e247ad35ca250698d63f49a5453d824", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "hercules-ci-effects", - "type": "github" - } - }, "home-manager": { "inputs": { "nixpkgs": [ @@ -689,11 +587,11 @@ ] }, "locked": { - "lastModified": 1760662441, - "narHash": "sha256-mlDqR1Ntgs9uYYEAUR1IhamKBO0lxoNS4zGLzEZaY0A=", + "lastModified": 1761770832, + "narHash": "sha256-IQIWG6kHxnUpx5KEb9r0BROL3/R6UQ/30aO2oHncBA8=", "owner": "nix-community", "repo": "home-manager", - "rev": "722792af097dff5790f1a66d271a47759f477755", + "rev": "124b99dbd1594dbebdd575ac7142752ee96a98a0", "type": "github" }, "original": { @@ -709,11 +607,11 @@ ] }, "locked": { - "lastModified": 1760929667, - "narHash": "sha256-nZh6uvc71nVNaf/y+wesnjwsmJ6IZZUnP2EzpZe48To=", + "lastModified": 1761878381, + "narHash": "sha256-lCRaipHgszaFZ1Cs8fdGJguVycCisBAf2HEFgip5+xU=", "owner": "nix-community", "repo": "home-manager", - "rev": "189c21cf879669008ccf06e78a553f17e88d8ef0", + "rev": "4ac96eb21c101a3e5b77ba105febc5641a8959aa", "type": "github" }, "original": { @@ -724,11 +622,11 @@ }, "import-tree": { "locked": { - "lastModified": 1752730890, - "narHash": "sha256-GES8fapSLGz36MMPRVNkSUWXUTtqvGQNXHjRmRLfJUY=", + "lastModified": 1761120675, + "narHash": "sha256-TEbh9zISiQcU82VwVoEbmXHnSGlUxTwvjJA9g9ErSDA=", "owner": "vic", "repo": "import-tree", - "rev": "6ebb8cb87987b20264c09296166543fd3761d274", + "rev": "a037ed2a58fc0ebed9e93b9ef79b0646e648f719", "type": "github" }, "original": { @@ -774,11 +672,11 @@ ] }, "locked": { - "lastModified": 1760534924, - "narHash": "sha256-OIOCC86DxTxp1VG7xAiM+YABtVqp6vTkYIoAiGQMqso=", + "lastModified": 1761748321, + "narHash": "sha256-hD5mVzmUeyVppjArdy2uVdQe/CQUR9i3WgZB05onE7A=", "owner": "Jovian-Experiments", "repo": "Jovian-NixOS", - "rev": "100b4e000032b865563a9754e5bca189bc544764", + "rev": "533db5857c9e00ca352558a928417116ee08a824", "type": "github" }, "original": { @@ -814,11 +712,11 @@ "lix": { "flake": false, "locked": { - "lastModified": 1755787066, - "narHash": "sha256-X2UwkUEban08GRSPXRr+kz8fckHqebr3P77qSvjoeOw=", - "rev": "ac9721a92e8138d29707824dbedb484c76948493", + "lastModified": 1761937274, + "narHash": "sha256-KlELhsSq3XbemrGyQhmGurFu7m8wOEBw+8M04L7hn7A=", + "rev": "91867941fa73afea7869b7c71ede82e5ef8927da", "type": "tarball", - "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/ac9721a92e8138d29707824dbedb484c76948493.tar.gz?rev=ac9721a92e8138d29707824dbedb484c76948493" + "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/91867941fa73afea7869b7c71ede82e5ef8927da.tar.gz?rev=91867941fa73afea7869b7c71ede82e5ef8927da" }, "original": { "type": "tarball", @@ -837,11 +735,11 @@ ] }, "locked": { - "lastModified": 1759851320, - "narHash": "sha256-n5dRAIC3/78drQtFxmQRrBLd6TKfotUnX7GWu0mAcSg=", + "lastModified": 1761960361, + "narHash": "sha256-FvuAw56NIVJpS3Kr8Wv9PpU4eehZMcdIVkxjStuYmqc=", "ref": "refs/heads/main", - "rev": "7c31a18259b8358ac196cf803a26967c0fa1d3e4", - "revCount": 163, + "rev": "c47f62187601ea2991b79a9bacdbfdf76cd29fbe", + "revCount": 167, "type": "git", "url": "https://git.lix.systems/lix-project/nixos-module" }, @@ -852,20 +750,16 @@ }, "neovim-nightly": { "inputs": { - "flake-compat": "flake-compat_3", "flake-parts": "flake-parts_4", - "git-hooks": "git-hooks", - "hercules-ci-effects": "hercules-ci-effects", "neovim-src": "neovim-src", - "nixpkgs": "nixpkgs_4", - "treefmt-nix": "treefmt-nix" + "nixpkgs": "nixpkgs_4" }, "locked": { - "lastModified": 1760918504, - "narHash": "sha256-y4My1QhxERZ90sreOqeqxz6jt3x4SdkgQboaoZ7biBs=", + "lastModified": 1761955453, + "narHash": "sha256-hQomzSbBiFsDXDMCjHmWXrAMgFlQlCiy7T37Eq7RvT4=", "owner": "nix-community", "repo": "neovim-nightly-overlay", - "rev": "db23b8034bc0ad8272999f866d54023799a59073", + "rev": "c58076a0d9b24bf77fef4fa2e7c43950914edf71", "type": "github" }, "original": { @@ -877,11 +771,11 @@ "neovim-src": { "flake": false, "locked": { - "lastModified": 1760810839, - "narHash": "sha256-VYkZdjjMOYsugoSydDDWE/1l79swm4zc4NJl1Z0brjA=", + "lastModified": 1761949631, + "narHash": "sha256-YgMQaFD4L9+PEYSkUlBkqaKt+ALPHiVgzgRbjOSW4tE=", "owner": "neovim", "repo": "neovim", - "rev": "be73c35943f85e7835c3a0fc89bddaeba944db29", + "rev": "1fddd74da7428e38b79ccb817dbd6952ff1d8ac6", "type": "github" }, "original": { @@ -902,11 +796,11 @@ "xwayland-satellite-unstable": "xwayland-satellite-unstable" }, "locked": { - "lastModified": 1761623016, - "narHash": "sha256-C2+TErNmeHMCtodwVrMeA/uJg1GRdQbOntRI7DFullA=", + "lastModified": 1761724527, + "narHash": "sha256-nB500dSUaNBtOsu5JI1PDNmjuFD6Kdbkh648q0FoaIY=", "owner": "sodiboo", "repo": "niri-flake", - "rev": "f0bfe0aaaa51378ace7492850290f8d2db6cc7f3", + "rev": "1ff74954f559bb2da63e28b3fcffd3b09ec32842", "type": "github" }, "original": { @@ -935,11 +829,11 @@ "niri-unstable": { "flake": false, "locked": { - "lastModified": 1761460429, - "narHash": "sha256-pJeM23DGMD5AK4gdNaDM1qsIv87NYQJgEh2E8tRd7es=", + "lastModified": 1761721311, + "narHash": "sha256-fXBALdA4CKAYslcuamjzQZLUTCNBIKWybj+/2rwe3Z0=", "owner": "YaLTeR", "repo": "niri", - "rev": "e6f3c538da0c646bda43fcde7ef7dc3b771e0c8b", + "rev": "6e8fd153395036c2daa7c214695ed9baf2409a2e", "type": "github" }, "original": { @@ -958,11 +852,11 @@ "systems": "systems_3" }, "locked": { - "lastModified": 1760949743, - "narHash": "sha256-qp64mFniGiY9MEIySL74+OondOYnUqytlFxe8xGBzzs=", + "lastModified": 1761986295, + "narHash": "sha256-5hOj4fy3ido2V5U3ZQiS3Niv1tmWLrPFo68AKxJ44tI=", "owner": "marienz", "repo": "nix-doom-emacs-unstraightened", - "rev": "257eddec1ad9b6e3ece37d02c51a3a7a3e74452b", + "rev": "08edaaf11a6c110f22c96d87b11f7f884ac9918b", "type": "github" }, "original": { @@ -977,11 +871,11 @@ "nixpkgs": "nixpkgs_5" }, "locked": { - "lastModified": 1760942919, - "narHash": "sha256-/CoMM0vhhihs5/9QLXgL/kkyALBa9XyVTSkN9Htxtjc=", + "lastModified": 1761962248, + "narHash": "sha256-tJROzIa21Ser5k12Hvd1W2M5ZQ4DiqROE3+c54zBbLk=", "owner": "fufexan", "repo": "nix-gaming", - "rev": "6fa7d37d878cceeaa3c88e2606dbadf15c8022ad", + "rev": "537f1d446238a6bb490e1765d39938166f1fb446", "type": "github" }, "original": { @@ -1039,11 +933,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1760106635, - "narHash": "sha256-2GoxVaKWTHBxRoeUYSjv0AfSOx4qw5CWSFz2b+VolKU=", + "lastModified": 1761933221, + "narHash": "sha256-rNHeoG3ZrA94jczyLSjxCtu67YYPYIlXXr0uhG3wNxM=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "9ed85f8afebf2b7478f25db0a98d0e782c0ed903", + "rev": "7467f155fcba189eb088a7601f44fbef7688669b", "type": "github" }, "original": { @@ -1055,11 +949,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1760703608, - "narHash": "sha256-MMIIShabm9KnYTmm0WbJ2h+jxI86gfE7NcByVOaBNNU=", - "owner": "PedroHLC", + "lastModified": 1761672384, + "narHash": "sha256-o9KF3DJL7g7iYMZq9SWgfS1BFlNbsm6xplRjVlOCkXI=", + "owner": "NixOS", "repo": "nixpkgs", - "rev": "95d8e5f411dc2fcc7f73a72766aaabfab1a1c456", + "rev": "08dacfca559e1d7da38f3cf05f1f45ee9bfd213c", "type": "github" }, "original": { @@ -1069,6 +963,22 @@ "type": "github" } }, + "nixpkgs-455083": { + "locked": { + "lastModified": 1761759229, + "narHash": "sha256-8P72kOULqB36MKrNl5HToySTA6HbYnldR3CQohJxpxc=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "9b6d78b4d933aed3785362dccc0bb3440b779d00", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "pull/455083/head", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs-lib": { "locked": { "lastModified": 1754788789, @@ -1101,11 +1011,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1760862643, - "narHash": "sha256-PXwG0TM7Ek87DNx4LbGWuD93PbFeKAJs4FfALtp7Wo0=", + "lastModified": 1761597516, + "narHash": "sha256-wxX7u6D2rpkJLWkZ2E932SIvDJW8+ON/0Yy8+a5vsDU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "33c6dca0c0cb31d6addcd34e90a63ad61826b28c", + "rev": "daf6dc47aa4b44791372d6139ab7b25269184d55", "type": "github" }, "original": { @@ -1149,11 +1059,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1760878510, - "narHash": "sha256-K5Osef2qexezUfs0alLvZ7nQFTGS9DL2oTVsIXsqLgs=", + "lastModified": 1761907660, + "narHash": "sha256-kJ8lIZsiPOmbkJypG+B5sReDXSD1KGu2VEPNqhRa/ew=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5e2a59a5b1a82f89f2c7e598302a9cacebb72a67", + "rev": "2fb006b87f04c4d3bdf08cfdbc7fab9c13d94a15", "type": "github" }, "original": { @@ -1181,11 +1091,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1760872779, - "narHash": "sha256-c5C907Raf9eY8f1NUXYeju9aUDlm227s/V0OptEbypA=", + "lastModified": 1761880412, + "narHash": "sha256-QoJjGd4NstnyOG4mm4KXF+weBzA2AH/7gn1Pmpfcb0A=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "63bdb5d90fa2fa11c42f9716ad1e23565613b07c", + "rev": "a7fc11be66bdfb5cdde611ee5ce381c183da8386", "type": "github" }, "original": { @@ -1197,11 +1107,11 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1760596604, - "narHash": "sha256-J/i5K6AAz/y5dBePHQOuzC7MbhyTOKsd/GLezSbEFiM=", + "lastModified": 1761349956, + "narHash": "sha256-tH3wHnOJms+U4k/rK2Nn1RfBrhffX92jLP/2VndSn0w=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "3cbe716e2346710d6e1f7c559363d14e11c32a43", + "rev": "02f2cb8e0feb4596d20cc52fda73ccee960e3538", "type": "github" }, "original": { @@ -1213,11 +1123,11 @@ }, "nixpkgs_6": { "locked": { - "lastModified": 1760878510, - "narHash": "sha256-K5Osef2qexezUfs0alLvZ7nQFTGS9DL2oTVsIXsqLgs=", + "lastModified": 1761907660, + "narHash": "sha256-kJ8lIZsiPOmbkJypG+B5sReDXSD1KGu2VEPNqhRa/ew=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5e2a59a5b1a82f89f2c7e598302a9cacebb72a67", + "rev": "2fb006b87f04c4d3bdf08cfdbc7fab9c13d94a15", "type": "github" }, "original": { @@ -1229,11 +1139,11 @@ }, "nixpkgs_7": { "locked": { - "lastModified": 1759632233, - "narHash": "sha256-krgZxGAIIIKFJS+UB0l8do3sYUDWJc75M72tepmVMzE=", + "lastModified": 1761656231, + "narHash": "sha256-EiED5k6gXTWoAIS8yQqi5mAX6ojnzpHwAQTS3ykeYMg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d7f52a7a640bc54c7bb414cca603835bf8dd4b10", + "rev": "e99366c665bdd53b7b500ccdc5226675cfc51f45", "type": "github" }, "original": { @@ -1245,11 +1155,11 @@ }, "nixpkgs_8": { "locked": { - "lastModified": 1760878510, - "narHash": "sha256-K5Osef2qexezUfs0alLvZ7nQFTGS9DL2oTVsIXsqLgs=", + "lastModified": 1761907660, + "narHash": "sha256-kJ8lIZsiPOmbkJypG+B5sReDXSD1KGu2VEPNqhRa/ew=", "owner": "nixos", "repo": "nixpkgs", - "rev": "5e2a59a5b1a82f89f2c7e598302a9cacebb72a67", + "rev": "2fb006b87f04c4d3bdf08cfdbc7fab9c13d94a15", "type": "github" }, "original": { @@ -1261,11 +1171,11 @@ }, "nixpkgs_9": { "locked": { - "lastModified": 1760596604, - "narHash": "sha256-J/i5K6AAz/y5dBePHQOuzC7MbhyTOKsd/GLezSbEFiM=", + "lastModified": 1761236834, + "narHash": "sha256-+pthv6hrL5VLW2UqPdISGuLiUZ6SnAXdd2DdUE+fV2Q=", "owner": "nixos", "repo": "nixpkgs", - "rev": "3cbe716e2346710d6e1f7c559363d14e11c32a43", + "rev": "d5faa84122bc0a1fd5d378492efce4e289f8eac1", "type": "github" }, "original": { @@ -1283,11 +1193,11 @@ "systems": "systems_6" }, "locked": { - "lastModified": 1760906375, - "narHash": "sha256-inbXtSqhaDOxvosjvt8hP/Az/wWwRCxjipH4x5DSD6A=", + "lastModified": 1761947009, + "narHash": "sha256-yutWdFO7EkJGdQOquwHvyWZ+3KpPowzy+v1xb8IA/K4=", "owner": "nix-community", "repo": "nixvim", - "rev": "5c1be58f6d938ff93516d00cc3d2c0def4d80198", + "rev": "fedd0e287081c0e20a45fdf3bc0e1ecc6e9a0225", "type": "github" }, "original": { @@ -1302,11 +1212,11 @@ "nixpkgs": "nixpkgs_8" }, "locked": { - "lastModified": 1760953705, - "narHash": "sha256-uo4U/eLQZ1SeCGnXO6oSf8GSzubxk8t9+bWomEAip14=", + "lastModified": 1762009359, + "narHash": "sha256-d6nVA9FRfgvLubgkRSut2OZHMC1dj+2oZPkEF65cPd8=", "owner": "nix-community", "repo": "NUR", - "rev": "d12d37fa661e688c7bdeee91abfcbfcddd018422", + "rev": "024437792c0750dfab885880a193e81b44997034", "type": "github" }, "original": { @@ -1350,11 +1260,11 @@ ] }, "locked": { - "lastModified": 1758662783, - "narHash": "sha256-igrxT+/MnmcftPOHEb+XDwAMq3Xg1Xy7kVYQaHhPlAg=", + "lastModified": 1761730856, + "narHash": "sha256-t1i5p/vSWwueZSC0Z2BImxx3BjoUDNKyC2mk24krcMY=", "owner": "NuschtOS", "repo": "search", - "rev": "7d4c0fc4ffe3bd64e5630417162e9e04e64b27a4", + "rev": "e29de6db0cb3182e9aee75a3b1fd1919d995d85b", "type": "github" }, "original": { @@ -1423,13 +1333,14 @@ "nix4nvchad": "nix4nvchad", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs_6", + "nixpkgs-455083": "nixpkgs-455083", "nixvim": "nixvim", "nur": "nur", "nvchad-starter": "nvchad-starter", "sops-nix": "sops-nix", "spacemacs": "spacemacs", "stylix": "stylix", - "treefmt-nix": "treefmt-nix_2" + "treefmt-nix": "treefmt-nix" } }, "rust-overlay": { @@ -1440,11 +1351,11 @@ ] }, "locked": { - "lastModified": 1760668505, - "narHash": "sha256-Ed0cGwPZtLRiSvMx4KgPx8bhLYzn5jiJ7s5o5vj4oG0=", + "lastModified": 1761758177, + "narHash": "sha256-MsVJG2gQTm6n2jIGu2KDT87AMeMx1GExOaEQqNkQKVE=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "18234d2c11b10eaec9ccc3a1089a5ea872ec8858", + "rev": "37f8f092415b444c3bed6eda6bcbee51cee22e5d", "type": "github" }, "original": { @@ -1502,11 +1413,11 @@ ] }, "locked": { - "lastModified": 1760845571, - "narHash": "sha256-PwGzU3EOU65Ef1VvuNnVLie+l+P0g/fzf/PGUG82KbM=", + "lastModified": 1760998189, + "narHash": "sha256-ee2e1/AeGL5X8oy/HXsZQvZnae6XfEVdstGopKucYLY=", "owner": "Mic92", "repo": "sops-nix", - "rev": "9c9a9798be331ed3f4b2902933d7677d0659ee61", + "rev": "5a7d18b5c55642df5c432aadb757140edfeb70b3", "type": "github" }, "original": { @@ -1518,11 +1429,11 @@ "spacemacs": { "flake": false, "locked": { - "lastModified": 1760813744, - "narHash": "sha256-NzHS3u++7pXh63T7BqPaHZM51X/3h1ZN2iRPT3P1cSY=", + "lastModified": 1761993083, + "narHash": "sha256-PQLg9Mhx9Ud/SwlCKSicG1b9sE8aR97EnQ3//SCL6Uc=", "owner": "syl20bnr", "repo": "spacemacs", - "rev": "610d900767b35228b5a2eb79f2a8de9596a5a264", + "rev": "5451c1f15c43d9ec04a3fe5791c8714e89519d5a", "type": "github" }, "original": { @@ -1554,11 +1465,11 @@ "tinted-zed": "tinted-zed" }, "locked": { - "lastModified": 1760472212, - "narHash": "sha256-4C3I/ssFsq8EgaUmZP0xv5V7RV0oCHgL/Rx+MUkuE+E=", + "lastModified": 1761840967, + "narHash": "sha256-alE8Vesztx3tPxXpJURtYWD8x1cXaU/x+10Q6hbgGBY=", "owner": "nix-community", "repo": "stylix", - "rev": "8d008296a1b3be9b57ad570f7acea00dd2fc92db", + "rev": "c33226f205aeab42a170913cd1f8bc3428b7e6b1", "type": "github" }, "original": { @@ -1754,36 +1665,15 @@ } }, "treefmt-nix": { - "inputs": { - "nixpkgs": [ - "neovim-nightly", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1760889407, - "narHash": "sha256-ppIp04fmz+BaTpJs1nIOmPADg02asfQFrFbhb3SmxsE=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "3f258dead9fed51f53862366d3a6bc1b622ee7cb", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } - }, - "treefmt-nix_2": { "inputs": { "nixpkgs": "nixpkgs_9" }, "locked": { - "lastModified": 1760945191, - "narHash": "sha256-ZRVs8UqikBa4Ki3X4KCnMBtBW0ux1DaT35tgsnB1jM4=", + "lastModified": 1761311587, + "narHash": "sha256-Msq86cR5SjozQGCnC6H8C+0cD4rnx91BPltZ9KK613Y=", "owner": "numtide", "repo": "treefmt-nix", - "rev": "f56b1934f5f8fcab8deb5d38d42fd692632b47c2", + "rev": "2eddae033e4e74bf581c2d1dfa101f9033dbd2dc", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 6b20270..82b74f6 100644 --- a/flake.nix +++ b/flake.nix @@ -52,6 +52,7 @@ nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; # nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small"; # nixpkgs.url = "github:NixOS/nixpkgs/master"; + nixpkgs-455083.url = "github:NixOS/nixpkgs?ref=pull/455083/head"; lix-module = { # url = "git+https://git.lix.systems/lix-project/nixos-module?ref=release-2.93"; diff --git a/home/david/configurations/Tytonidae/niri.nix b/home/david/configurations/Tytonidae/niri.nix index 8fe55a5..7abe752 100644 --- a/home/david/configurations/Tytonidae/niri.nix +++ b/home/david/configurations/Tytonidae/niri.nix @@ -1,6 +1,9 @@ -{ config, ... }: +{ config, lib, ... }: +let + cfg = config.david.programs.niri; +in { - david.programs.niri = { + david.programs.niri = lib.mkIf cfg.enable { waybar.settings = let cfg = config.david.programs.niri.waybar; diff --git a/home/david/modules/programs/niri/default.nix b/home/david/modules/programs/niri/default.nix index 95fe8b8..42ce1a3 100644 --- a/home/david/modules/programs/niri/default.nix +++ b/home/david/modules/programs/niri/default.nix @@ -14,7 +14,9 @@ in { options = { david.programs.niri = { - enable = lib.mkEnableOption "niri"; + enable = (lib.mkEnableOption "niri") // { + default = osConfig.youthlic.gui.enabled == "niri"; + }; extraConfig = lib.mkOption { type = inputs.niri-flake.lib.kdl.types.kdl-document; }; @@ -39,9 +41,6 @@ in }; }; config = lib.mkMerge [ - { - david.programs.niri.enable = osConfig.youthlic.gui.enabled == "niri"; - } (lib.mkIf cfg.enable { home.packages = (with pkgs; [ @@ -102,5 +101,11 @@ in package = niri; }; }) + (lib.mkIf (!cfg.enable) { + programs.niri = { + settings = null; + config = null; + }; + }) ]; } diff --git a/home/modules/programs/gpg/default.nix b/home/modules/programs/gpg/default.nix index e50f044..db6f327 100644 --- a/home/modules/programs/gpg/default.nix +++ b/home/modules/programs/gpg/default.nix @@ -21,7 +21,7 @@ enable = true; enableSshSupport = true; pinentry = { - package = outputs.packages."${pkgs.system}".pinentry-selector; + package = outputs.packages."${pkgs.stdenv.hostPlatform.system}".pinentry-selector; }; # sshKeys = [ # "C817E333BF88F16EA0F7ADE27BDCCC16AD25E5A6" diff --git a/nixos/modules/nix.nix b/nixos/modules/nix.nix index 0ce343d..cbae8ed 100644 --- a/nixos/modules/nix.nix +++ b/nixos/modules/nix.nix @@ -28,6 +28,21 @@ "immersive-translate" ]; packageOverrides = p: { + kdePackages = p.kdePackages // { + inherit + ((import inputs.nixpkgs-455083 { + localSystem = { + inherit (pkgs.stdenv.hostPlatform) system; + }; + config = { + allowUnfree = true; + allowInsecurePredicate = p: builtins.elem (lib.getName p) [ "olm" ]; + }; + }).kdePackages + ) + neochat + ; + }; intel-vaapi-driver = p.intel-vaapi-driver.override { enableHybridCodec = true; }; onnxruntime = p.onnxruntime.override { cudaSupport = false; diff --git a/pkgs/doom-emacs/package.nix b/pkgs/doom-emacs/package.nix index 160d96c..8530368 100644 --- a/pkgs/doom-emacs/package.nix +++ b/pkgs/doom-emacs/package.nix @@ -1,11 +1,12 @@ { inputs, - system, + stdenv, editor-runtime, symlinkJoin, makeWrapper, }: let + inherit (stdenv.hostPlatform) system; inherit (inputs) nixpkgs emacs-overlay nix-doom; pkgs = import nixpkgs { localSystem = { inherit system; }; @@ -31,9 +32,10 @@ let git ripgrep fd - imagemagick ]) - ++ [ editor-runtime ]; + ++ [ + editor-runtime + ]; }; in symlinkJoin { diff --git a/pkgs/helix/package.nix b/pkgs/helix/package.nix index 2210f36..1c9d5ab 100644 --- a/pkgs/helix/package.nix +++ b/pkgs/helix/package.nix @@ -1,11 +1,12 @@ { inputs, - system, + stdenv, callPackage, buildEnv, lib, }: let + inherit (stdenv.hostPlatform) system; inherit (inputs.helix.packages."${system}") helix; runtime = callPackage ./runtime.nix { }; helix' = helix.overrideAttrs ( diff --git a/pkgs/helix/runtime.nix b/pkgs/helix/runtime.nix index 4ced65b..d7c5683 100644 --- a/pkgs/helix/runtime.nix +++ b/pkgs/helix/runtime.nix @@ -2,7 +2,7 @@ lib, srcs, stdenv, - runCommandNoCCLocal, + runCommandLocal, }: let buildGrammar = @@ -80,18 +80,18 @@ let } ) |> lib.mapAttrsToList (_: value: "ln -s ${value.value}/${value.name}.so $out/${value.name}.so"); - grammarDir = runCommandNoCCLocal "helix-grammars" { } '' + grammarDir = runCommandLocal "helix-grammars" { } '' mkdir -p $out ${builtins.concatStringsSep "\n" grammarLinks} ''; - queryDir = runCommandNoCCLocal "helix-query" { } '' + queryDir = runCommandLocal "helix-query" { } '' mkdir -p $out ${builtins.concatStringsSep "\n" queries} ''; in -runCommandNoCCLocal "helix-runtime" { } '' +runCommandLocal "helix-runtime" { } '' mkdir -p $out ln -s ${grammarDir} $out/grammars diff --git a/pkgs/wallpapers.nix b/pkgs/wallpapers.nix index 2837113..837ac5f 100644 --- a/pkgs/wallpapers.nix +++ b/pkgs/wallpapers.nix @@ -1,6 +1,6 @@ { srcs, - runCommandNoCCLocal, + runCommandLocal, rootPath, lib, }: @@ -11,7 +11,7 @@ let |> filterAttrs (name: _value: hasPrefix "wallpaper" name) |> concatMapAttrsStringSep "\n" (name: value: "ln -s ${value.src} $out/${name}"); in -runCommandNoCCLocal "wallpapers" { } '' +runCommandLocal "wallpapers" { } '' mkdir -p $out ${wallpapers} From 303d05907e13ff09b4ad045e1c9ba0d5cda204e4 Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Tue, 28 Oct 2025 23:22:41 +0800 Subject: [PATCH 7/8] feat: Use `balance-alb` instead of `balance-rr` --- nixos/configurations/Tytonidae/networking.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/configurations/Tytonidae/networking.nix b/nixos/configurations/Tytonidae/networking.nix index 56bd1ed..1201719 100644 --- a/nixos/configurations/Tytonidae/networking.nix +++ b/nixos/configurations/Tytonidae/networking.nix @@ -28,7 +28,7 @@ Name = "bond0"; }; bondConfig = { - Mode = "balance-rr"; + Mode = "balance-alb"; MIIMonitorSec = "1s"; PrimaryReselectPolicy = "better"; }; From 5de4c827d85f50320d10ddaec34a8bcecd36da9b Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Tue, 28 Oct 2025 23:22:41 +0800 Subject: [PATCH 8/8] feat: Disable download function for repo archive in forgejo --- nixos/modules/programs/forgejo.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/programs/forgejo.nix b/nixos/modules/programs/forgejo.nix index a091418..90a6aa6 100644 --- a/nixos/modules/programs/forgejo.nix +++ b/nixos/modules/programs/forgejo.nix @@ -64,6 +64,7 @@ in repository = { DEFAULT_PRIVATE = "last"; DEFAULT_BRANCH = "master"; + DISABLE_DOWNLOAD_SOURCE_ARCHIVES = true; }; service = { DISABLE_REGISTRATION = true;