From 943c5324ca750cdaa1a8d835a83d474a9bc64cd8 Mon Sep 17 00:00:00 2001 From: beatzaplenty Date: Tue, 16 Dec 2025 11:42:35 +0000 Subject: [PATCH] Update flake.nix --- flake.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index ddcc4d3..5ab703b 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,10 @@ { description = "LAN NixOS configs"; - + nixConfig = { + access-tokens = [ + "github.com=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" + ]; + }; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; nixos-conf-editor.url = "github:snowfallorg/nixos-conf-editor"; @@ -11,12 +15,7 @@ }; outputs = { self, nixpkgs, nixos-conf-editor, home-manager, ... } @ inputs: - let system = "x86_64-linux"; in { - nixConfig = { - access-tokens = [ - "github.com=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" - ]; - }; + let system = "x86_64-linux"; in { nixosConfigurations = { # automatically use each host folder by name nixos = nixpkgs.lib.nixosSystem {