summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/host.nix5
-rw-r--r--util/user.nix5
2 files changed, 8 insertions, 2 deletions
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;