added services to blogbox and added new nic to alisceon-core
This commit is contained in:
parent
8a2e2532bd
commit
ecde469fe7
4 changed files with 452 additions and 2 deletions
|
|
@ -6,6 +6,7 @@
|
|||
../../modules/services/forgejo.nix
|
||||
../../modules/services/nginx.nix
|
||||
../../modules/services/oci-authorized-keys.nix
|
||||
../../modules/services/oci-secondary-vnics.nix
|
||||
../../modules/services/tor.nix
|
||||
];
|
||||
|
||||
|
|
@ -69,6 +70,7 @@
|
|||
defaultShell = "/run/current-system/sw/bin/xonsh";
|
||||
};
|
||||
ociAuthorizedKeys.enable = true;
|
||||
ociSecondaryVnics.enable = true;
|
||||
};
|
||||
|
||||
security = {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue