remove misleading nixpkgs.config.*, set allowUnfree by default

This commit is contained in:
Gabriel Fontes 2022-10-07 09:22:41 -03:00
parent 2e4b816bd6
commit ef39c00b0d
No known key found for this signature in database
GPG key ID: 2E54EA7BFE630916
6 changed files with 4 additions and 16 deletions

View file

@ -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;
}
);

View file

@ -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";

View file

@ -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

View file

@ -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;
}
);

View file

@ -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";

View file

@ -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