treewide: set allowUnfree for flake

This commit is contained in:
2026-05-02 03:07:05 -04:00
parent 056bac1617
commit 463c3659fa
2 changed files with 8 additions and 3 deletions
+6 -1
View File
@@ -42,8 +42,13 @@
]; ];
perSystem = perSystem =
{ pkgs, ... }: { pkgs, system, ... }:
{ {
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
config.allowUnfree = true;
};
formatter = pkgs.nixfmt; formatter = pkgs.nixfmt;
}; };
+2 -2
View File
@@ -118,10 +118,10 @@ in
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
environment.etc."nixos/current".source = lib.cleanSource ./..;
system = { system = {
configurationRevision = self.rev or self.dirtyRev; configurationRevision = self.rev or self.dirtyRev;
stateVersion = "25.11"; stateVersion = "25.11";
}; };
environment.etc."nixos/current".source = lib.cleanSource ./..;
} }