Update flake.nix

This commit is contained in:
2025-12-16 11:42:35 +00:00
parent a8f417b4f9
commit 943c5324ca

View File

@@ -1,6 +1,10 @@
{ {
description = "LAN NixOS configs"; description = "LAN NixOS configs";
nixConfig = {
access-tokens = [
"github.com=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"
];
};
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
nixos-conf-editor.url = "github:snowfallorg/nixos-conf-editor"; nixos-conf-editor.url = "github:snowfallorg/nixos-conf-editor";
@@ -12,11 +16,6 @@
outputs = { self, nixpkgs, nixos-conf-editor, home-manager, ... } @ inputs: outputs = { self, nixpkgs, nixos-conf-editor, home-manager, ... } @ inputs:
let system = "x86_64-linux"; in { let system = "x86_64-linux"; in {
nixConfig = {
access-tokens = [
"github.com=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"
];
};
nixosConfigurations = { nixosConfigurations = {
# automatically use each host folder by name # automatically use each host folder by name
nixos = nixpkgs.lib.nixosSystem { nixos = nixpkgs.lib.nixosSystem {