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
];
nixpkgs.overlays = [
inputs.agenix.overlays.default
(import ../overlays/default.nix)
(final: prev: {
unstable = import inputs.nixpkgs-unstable { system = final.system; };
})
];
nixpkgs = {
config.allowUnfree = true;
overlays = [
inputs.agenix.overlays.default
(import ../overlays/default.nix)
(final: prev: {
unstable = import inputs.nixpkgs-unstable {
config = {
allowUnfree = true;
};
system = final.system;
};
})
];
};
time.timeZone = "Europe/London";

View File

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

View File

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

View File

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

View File

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

View File

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