nixpkgs: allow unfree everywhere

This commit is contained in:
2025-06-02 21:14:04 +01:00
parent 7569a548e2
commit 0cda947ca5
6 changed files with 15 additions and 17 deletions

View File

@ -13,13 +13,21 @@
../modules/nixos ../modules/nixos
]; ];
nixpkgs.overlays = [ nixpkgs = {
config.allowUnfree = true;
overlays = [
inputs.agenix.overlays.default inputs.agenix.overlays.default
(import ../overlays/default.nix) (import ../overlays/default.nix)
(final: prev: { (final: prev: {
unstable = import inputs.nixpkgs-unstable { system = final.system; }; unstable = import inputs.nixpkgs-unstable {
config = {
allowUnfree = true;
};
system = final.system;
};
}) })
]; ];
};
time.timeZone = "Europe/London"; time.timeZone = "Europe/London";

View File

@ -9,10 +9,6 @@
../users/jordan ../users/jordan
]; ];
nixpkgs = {
config.allowUnfree = true;
};
services.printing.enable = true; services.printing.enable = true;
services.openssh.startWhenNeeded = true; services.openssh.startWhenNeeded = true;

View File

@ -16,7 +16,6 @@
nixpkgs = { nixpkgs = {
hostPlatform = "x86_64-linux"; hostPlatform = "x86_64-linux";
config = { config = {
allowUnfree = true;
nvidia.acceptLicense = true; nvidia.acceptLicense = true;
}; };
}; };

View File

@ -15,7 +15,6 @@
nixpkgs = { nixpkgs = {
hostPlatform = "x86_64-linux"; hostPlatform = "x86_64-linux";
config = { config = {
allowUnfree = true;
nvidia.acceptLicense = true; nvidia.acceptLicense = true;
}; };
}; };

View File

@ -7,8 +7,6 @@ let
domain = "outline.vimium.com"; domain = "outline.vimium.com";
in in
{ {
nixpkgs.config.allowUnfree = true;
services.nginx.virtualHosts = { services.nginx.virtualHosts = {
"${domain}" = { "${domain}" = {
forceSSL = true; forceSSL = true;

View File

@ -23,8 +23,6 @@ in
withUWSM = true; withUWSM = true;
}; };
nixpkgs.config.allowUnfree = true;
stylix = { stylix = {
enable = true; enable = true;
autoEnable = false; autoEnable = false;