Add NixOS host modules and runners

This commit is contained in:
Dmitry
2026-05-29 22:11:41 +03:00
parent 86fb248d85
commit e715d577b1
11 changed files with 144 additions and 61 deletions
+13 -5
View File
@@ -1,10 +1,19 @@
{ pkgs, ... }:
{
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
nix = {
settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
};
boot.tmp.cleanOnBoot = true;
time.timeZone = "Europe/Moscow";
@@ -20,7 +29,6 @@
extraGroups = [
"wheel"
"docker"
"libvirtd"
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIWNsUQmppB6cQccXX1ZaBbFIcmM6RmghsTVbG9TgoZB ada@ada-x1"