added services to blogbox and added new nic to alisceon-core

This commit is contained in:
alisceon 2026-05-30 17:17:47 +02:00
parent 8a2e2532bd
commit ecde469fe7
4 changed files with 452 additions and 2 deletions

View file

@ -2,6 +2,7 @@
{
imports = [
"${modulesPath}/virtualisation/oci-image.nix"
../../modules/services/blogbox.nix
../../modules/services/cloud-init.nix
../../modules/services/oci-authorized-keys.nix
];
@ -71,6 +72,7 @@
users.users.alisceon.extraGroups = [ "systemd-journal" ];
alisceon = {
blogbox.enable = true;
cloud-init.enable = true;
ociAuthorizedKeys.enable = true;
};
@ -95,13 +97,20 @@
'';
system.autoUpgrade = {
enable = lib.mkForce false;
persistent = lib.mkForce false;
enable = lib.mkForce true;
persistent = lib.mkForce true;
};
systemd = {
services = {
dev-flake-garbage-collect.enable = lib.mkForce false;
nixos-upgrade.serviceConfig = {
IOSchedulingClass = "idle";
MemoryHigh = "512M";
MemoryMax = "900M";
Nice = 15;
OOMPolicy = "stop";
};
};
timers.dev-flake-garbage-collect.enable = lib.mkForce false;
};