diff --git a/machines/storage01/gitea-actions-runner.nix b/machines/storage01/gitea-actions-runner.nix index e48d207..499834f 100644 --- a/machines/storage01/gitea-actions-runner.nix +++ b/machines/storage01/gitea-actions-runner.nix @@ -3,13 +3,6 @@ let url = "https://git.dgnum.eu"; in { - boot.kernelParams = [ - "cgroup_enable=cpu" - "cgroup_enable=cpuset" - "cgroup_enable=memory" - "cgroup_memory=1" - ]; - services.gitea-actions-runner = { package = pkgs.forgejo-actions-runner; diff --git a/modules/dgn-hardware.nix b/modules/dgn-hardware.nix index 6993fcd..f235743 100644 --- a/modules/dgn-hardware.nix +++ b/modules/dgn-hardware.nix @@ -29,6 +29,12 @@ in { initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "ehci_pci" "virtio_pci" "ahci" "virtio_blk" ]; kernelModules = [ "kvm-intel" ]; + kernelParams = [ + "cgroup_enable=cpu" + "cgroup_enable=cpuset" + "cgroup_enable=memory" + "cgroup_memory=1" + ]; }; }