summaryrefslogtreecommitdiffstatshomepage
path: root/etc/kernel
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld@sommerfeld.dev>2026-09-17 15:05:37 +0100
committersommerfeld <sommerfeld@sommerfeld.dev>2026-09-17 15:05:37 +0100
commit2f97417d16224ca1f79b2fe41e70b8d7ddc0ab7d (patch)
tree95cbecc698a82ef8b9d9d31cbff75be91f7d9005 /etc/kernel
parentdd45f3ad88b544f065f27143801306a7d6dffd02 (diff)
downloaddotfiles-2f97417d16224ca1f79b2fe41e70b8d7ddc0ab7d.tar.gz
dotfiles-2f97417d16224ca1f79b2fe41e70b8d7ddc0ab7d.tar.bz2
dotfiles-2f97417d16224ca1f79b2fe41e70b8d7ddc0ab7d.zip
Configure LXD and AppArmor on the Arch host
Diffstat (limited to 'etc/kernel')
-rw-r--r--etc/kernel/cmdline-linux-hardened.tmpl2
-rw-r--r--etc/kernel/cmdline.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/kernel/cmdline-linux-hardened.tmpl b/etc/kernel/cmdline-linux-hardened.tmpl
index be99a9c..674904f 100644
--- a/etc/kernel/cmdline-linux-hardened.tmpl
+++ b/etc/kernel/cmdline-linux-hardened.tmpl
@@ -1 +1 @@
-rd.luks.name={{ output "lsblk" "-dno" "UUID" (printf "/dev/%s" .luksRootPartition) | trim }}=root root=/dev/mapper/root rw quiet mem_sleep_default=s2idle
+rd.luks.name={{ output "lsblk" "-dno" "UUID" (printf "/dev/%s" .luksRootPartition) | trim }}=root root=/dev/mapper/root rw quiet mem_sleep_default=s2idle apparmor=1 lsm=landlock,lockdown,yama,integrity,apparmor,bpf
diff --git a/etc/kernel/cmdline.tmpl b/etc/kernel/cmdline.tmpl
index d7512dd..555083a 100644
--- a/etc/kernel/cmdline.tmpl
+++ b/etc/kernel/cmdline.tmpl
@@ -1 +1 @@
-rd.luks.name={{ output "lsblk" "-dno" "UUID" (printf "/dev/%s" .luksRootPartition) | trim }}=root root=/dev/mapper/root rw quiet
+rd.luks.name={{ output "lsblk" "-dno" "UUID" (printf "/dev/%s" .luksRootPartition) | trim }}=root root=/dev/mapper/root rw quiet apparmor=1 lsm=landlock,lockdown,yama,integrity,apparmor,bpf