fix: allow unfree everywhere
This commit is contained in:
parent
89f39cf9a6
commit
1687c0071f
3 changed files with 8 additions and 1 deletions
|
@ -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";
|
||||||
|
|
|
@ -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"];
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
|
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
|
allowUnfreePredicate = _: true;
|
||||||
cudaSupport = true;
|
cudaSupport = true;
|
||||||
};
|
};
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
|
|
Loading…
Reference in a new issue