mirror of
https://github.com/Misterio77/nix-starter-configs.git
synced 2026-08-24 10:14:02 -05:00
remove misleading nixpkgs.config.*, set allowUnfree by default
This commit is contained in:
+2
-2
@@ -24,11 +24,11 @@
|
||||
legacyPackages = nixpkgs.lib.genAttrs [ "x86_64-linux" "x86_64-darwin" ] (system:
|
||||
import inputs.nixpkgs {
|
||||
inherit system;
|
||||
|
||||
# NOTE: Using `nixpkgs.config` in your NixOS config won't work
|
||||
# Instead, you should set nixpkgs configs here
|
||||
# (https://nixos.org/manual/nixpkgs/stable/#idm140737322551056)
|
||||
|
||||
# config.allowUnfree = true;
|
||||
config.allowUnfree = true;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -9,9 +9,6 @@
|
||||
# Feel free to split up your configuration and import pieces of it here.
|
||||
];
|
||||
|
||||
# Comment out if you wish to disable unfree packages for your system
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# TODO: Set your username
|
||||
home = {
|
||||
username = "your-username";
|
||||
|
||||
@@ -37,9 +37,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
# Remove if you wish to disable unfree packages for your system
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# FIXME: Add the rest of your current configuration
|
||||
|
||||
# TODO: Set your hostname
|
||||
|
||||
+2
-2
@@ -54,11 +54,11 @@
|
||||
inherit system;
|
||||
# This adds our overlays to pkgs
|
||||
overlays = builtins.attrValues overlays;
|
||||
|
||||
# NOTE: Using `nixpkgs.config` in your NixOS config won't work
|
||||
# Instead, you should set nixpkgs configs here
|
||||
# (https://nixos.org/manual/nixpkgs/stable/#idm140737322551056)
|
||||
|
||||
# config.allowUnfree = true;
|
||||
config.allowUnfree = true;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -9,9 +9,6 @@
|
||||
# Feel free to split up your configuration and import pieces of it here.
|
||||
];
|
||||
|
||||
# Comment out if you wish to disable unfree packages for your system
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# TODO: Set your username
|
||||
home = {
|
||||
username = "your-username";
|
||||
|
||||
@@ -37,9 +37,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
# Remove if you wish to disable unfree packages for your system
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# FIXME: Add the rest of your current configuration
|
||||
|
||||
# TODO: Set your hostname
|
||||
|
||||
Reference in New Issue
Block a user