remove misleading nixpkgs.config.*, set allowUnfree by default
This commit is contained in:
parent
2e4b816bd6
commit
ef39c00b0d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue