Skip to content

Commit 8939e8e

Browse files
committed
Fix k3s on raspberry pis
1 parent 7fe3e35 commit 8939e8e

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

hosts/rpi4/default.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
raspberry-pi-4.display-vc4
1111
];
1212

13+
# For https://github.com/k3s-io/k3s/issues/2067
14+
boot.kernelParams = [
15+
"cgroup_enable=cpuset"
16+
"cgroup_enable=memory"
17+
];
18+
1319
time.timeZone = "America/New_York";
1420

1521
users.users.${username} = {

hosts/rpi5/default.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
# ./nvme.nix # TODO do we need this?
1313
];
1414

15+
# For https://github.com/k3s-io/k3s/issues/2067
16+
boot.kernelParams = [
17+
"cgroup_enable=cpuset"
18+
"cgroup_enable=memory"
19+
];
20+
1521
boot.loader.raspberry-pi.bootloader = "kernel";
1622

1723
time.timeZone = "America/New_York";

0 commit comments

Comments
 (0)