From a9e3deea083cf5a9b2a4f94aa92c0f72dcc98437 Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Mon, 25 May 2026 20:59:33 +0100 Subject: [PATCH] added: rpi binary cache --- config/modules/nix.nix | 63 +++++++++++++++++++++--------------------- 1 file changed, 31 insertions(+), 32 deletions(-) diff --git a/config/modules/nix.nix b/config/modules/nix.nix index 7643b46..ccb1bd8 100644 --- a/config/modules/nix.nix +++ b/config/modules/nix.nix @@ -1,36 +1,35 @@ -{ ... }: -{ +{...}: { modules.nix = { - nixos = - { ... }: - { - nixpkgs.config.allowUnfree = true; - nix.settings = { - substituters = [ - "https://hyprland.cachix.org" - "https://nix-community.cachix.org" - "https://cache.nixos.org/" - "https://attic.scug.io/pkgs" - "https://cache.nixos-cuda.org" - "https://niri.cachix.org" - "https://attic.xuyh0120.win/lantian" - ]; - trusted-public-keys = [ - "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" - "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" - "pkgs:+sRbfiZMMX5R3PuAPtIRz/emowDoGZNpozibrnrAvuc=" - "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" - "niri.cachix.org-1:Wv0OmO7PsuocRKzfDoJ3mulSl7Z6oezYhGhR+3W2964=" - "lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc=" - ]; - experimental-features = [ - "flakes" - "nix-command" - ]; - trusted-users = [ - "doloro" - ]; - }; + nixos = {...}: { + nixpkgs.config.allowUnfree = true; + nix.settings = { + substituters = [ + "https://hyprland.cachix.org" + "https://nix-community.cachix.org" + "https://cache.nixos.org/" + "https://attic.scug.io/pkgs" + "https://cache.nixos-cuda.org" + "https://niri.cachix.org" + "https://attic.xuyh0120.win/lantian" + "https://nixos-raspberrypi.cachix.org" + ]; + trusted-public-keys = [ + "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + "pkgs:+sRbfiZMMX5R3PuAPtIRz/emowDoGZNpozibrnrAvuc=" + "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" + "niri.cachix.org-1:Wv0OmO7PsuocRKzfDoJ3mulSl7Z6oezYhGhR+3W2964=" + "lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc=" + "nixos-raspberrypi.cachix.org-1:4iMO9LXa8BqhU+Rpg6LQKiGa2lsNh/j2oiYLNOQ5sPI=" + ]; + experimental-features = [ + "flakes" + "nix-command" + ]; + trusted-users = [ + "doloro" + ]; }; + }; }; }