From 556d0e28ea590edf2e5b4d125ca74d37c7e6801b Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Sat, 30 Sep 2023 18:47:13 -0700 Subject: [PATCH] test unsup system --- flake.nix | 1 + systems/BASED.nix | 2 +- systems/NObangers.nix | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 0bc9b8b..7807c1d 100644 --- a/flake.nix +++ b/flake.nix @@ -19,6 +19,7 @@ unstable = import nixpkgs-unstable { system = "aarch64-linux"; config.allowUnfree = true; + config.allowUnsupportedSystem = true; }; }; nixosSystem = (systemModules: nixpkgs.lib.nixosSystem { modules = systemModules; }); diff --git a/systems/BASED.nix b/systems/BASED.nix index bb4b2c0..0beb84d 100644 --- a/systems/BASED.nix +++ b/systems/BASED.nix @@ -118,5 +118,5 @@ imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - system.stateVersion = "23.05"; + system.stateVersion = lib.mkDefault "23.05"; } diff --git a/systems/NObangers.nix b/systems/NObangers.nix index 5986133..63ba205 100644 --- a/systems/NObangers.nix +++ b/systems/NObangers.nix @@ -31,5 +31,6 @@ }; nixpkgs.hostPlatform = "aarch64-linux"; + system.stateVersion = "23.11"; networking.hostName = "NObangers"; }