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
./system/waves/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
}
home-manager.nixosModules.home-manager
./home/valerie/home.nix
];
output = "nixosConfigurations";

View file

@ -15,6 +15,12 @@ in {
home = {
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";
homeDirectory = "/home/valerie";
extraOutputsToInstall = ["doc" "devdoc"];

View file

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