fix: allow unfree everywhere

This commit is contained in:
valerie 2024-11-28 18:39:55 -05:00
parent 89f39cf9a6
commit 1687c0071f
Signed by: valnyx
GPG key ID: CC10324DD962CB7E
3 changed files with 8 additions and 1 deletions

View file

@ -80,11 +80,11 @@
} }
nixos-cosmic.nixosModules.default nixos-cosmic.nixosModules.default
./system/waves/configuration.nix ./system/waves/configuration.nix
home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
} }
home-manager.nixosModules.home-manager
./home/valerie/home.nix ./home/valerie/home.nix
]; ];
output = "nixosConfigurations"; output = "nixosConfigurations";

View file

@ -15,6 +15,12 @@ in {
home = { home = {
file.".ssh/id_user.pub".text = builtins.readFile ../../system/waves/id_user.pub; file.".ssh/id_user.pub".text = builtins.readFile ../../system/waves/id_user.pub;
file.".config/nixpkgs/config.nix".text = ''
{
allowUnfree = true;
allowUnfreePredicate = _: true;
}
'';
username = "valerie"; username = "valerie";
homeDirectory = "/home/valerie"; homeDirectory = "/home/valerie";
extraOutputsToInstall = ["doc" "devdoc"]; extraOutputsToInstall = ["doc" "devdoc"];

View file

@ -48,6 +48,7 @@
nixpkgs.config = { nixpkgs.config = {
allowUnfree = true; allowUnfree = true;
allowUnfreePredicate = _: true;
cudaSupport = true; cudaSupport = true;
}; };
nixpkgs.overlays = [ nixpkgs.overlays = [