Update flake

This commit is contained in:
Invariantspace 2024-12-19 20:42:14 -08:00
parent cdd034fb96
commit 359a59476d
Signed by: macronova
GPG key ID: CE969670FB4B4A56
5 changed files with 38 additions and 47 deletions

View file

@ -5,6 +5,7 @@
./constants.nix
./secrets.nix
./users.nix
./nix.nix
];
home-manager.sharedModules = [inputs.plasma-manager.homeManagerModules.plasma-manager];

22
common/nix.nix Normal file
View file

@ -0,0 +1,22 @@
{config, ...}: {
nix = {
gc = {
automatic = true;
options = "--delete-older-than 30d";
};
settings = {
auto-optimise-store = true;
experimental-features = ["nix-command" "flakes"];
trusted-users = [config.constants.userName];
};
};
nixpkgs = {
config.allowUnfree = true;
config.permittedInsecurePackages = [
"aspnetcore-runtime-6.0.36"
"aspnetcore-runtime-wrapped-6.0.36"
"dotnet-sdk-6.0.428"
"dotnet-sdk-wrapped-6.0.428"
];
};
}