summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2023-02-27 21:24:16 -0500
committerseth <[email protected]>2023-02-27 21:24:16 -0500
commit41d79acda75af9aa3f2feb54c3fb78d63f74d7b9 (patch)
tree202d88be93b3cc93623234167a0b88bc9b6b7b69
parent972d0a179b1ac7969878c7b3043cb8740e0a62fd (diff)
allowUnsupportedSystem = true
-rw-r--r--users/seth/default.nix5
-rw-r--r--util/host.nix5
-rw-r--r--util/user.nix5
3 files changed, 12 insertions, 3 deletions
diff --git a/users/seth/default.nix b/users/seth/default.nix
index 5f21214..1476323 100644
--- a/users/seth/default.nix
+++ b/users/seth/default.nix
@@ -31,7 +31,10 @@
home.stateVersion = config.system.stateVersion;
- nixpkgs.config.allowUnfree = true;
+ nixpkgs.config = {
+ allowUnfree = true;
+ allowUnsupportedSystem = true;
+ };
systemd.user.startServices = true;
};
diff --git a/util/host.nix b/util/host.nix
index 786e460..da2c692 100644
--- a/util/host.nix
+++ b/util/host.nix
@@ -19,7 +19,10 @@
system.stateVersion = version;
networking.hostName = mkDefault name;
# enable non-free packages
- nixpkgs.config.allowUnfree = true;
+ nixpkgs.config = {
+ allowUnfree = true;
+ allowUnsupportedSystem = true;
+ };
# Enable nix flakes
nix = {
diff --git a/util/user.nix b/util/user.nix
index d28ae2e..366112f 100644
--- a/util/user.nix
+++ b/util/user.nix
@@ -14,7 +14,10 @@
[
../users/${username}/home.nix
{
- nixpkgs.config.allowUnfree = true;
+ nixpkgs.config = {
+ allowUnfree = true;
+ allowUnsupportedSystem = true;
+ };
nix = {
package = channel.legacyPackages.${system}.nixFlakes;