treewide: Move machines/core to profiles/core

This commit is contained in:
Felix Buehler 2025-12-27 15:57:31 +01:00
parent b494b01a9c
commit 346f4d6592
8 changed files with 3 additions and 3 deletions

36
profiles/core/nix.nix Normal file
View file

@ -0,0 +1,36 @@
{ inputs, ... }:
{
nix = {
daemonCPUSchedPolicy = "idle";
daemonIOSchedClass = "idle";
settings = {
trusted-users = [
"root"
"@wheel"
];
auto-optimise-store = true;
builders-use-substitutes = true;
};
gc = {
automatic = true;
options = "--delete-older-than 30d";
};
extraOptions = ''
experimental-features = nix-command flakes
'';
registry = {
nixpkgs.flake = inputs.nixpkgs;
unstable.flake = inputs.nixpkgs-unstable;
};
};
# auto upgrade with own flakes
system.autoUpgrade = {
enable = true;
flake = "github:Stunkymonkey/nixos";
};
}