Skip to content

Commit

Permalink
Enable systemd hardened configs in gui-vm
Browse files Browse the repository at this point in the history
- Fixed dynamic user login issue.
- Mounting user home requires admin capability, so allowed it.

Signed-off-by: Ganga Ram <[email protected]>
  • Loading branch information
gngram committed Jan 21, 2025
1 parent b2c28e0 commit 9fe5ac2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
# "~CAP_AUDIT_CONTROL"
# "~CAP_AUDIT_READ"
# "~CAP_AUDIT_WRITE"
"~CAP_SYS_ADMIN"
# "~CAP_SYS_ADMIN"
# "~CAP_SYSLOG"
# "~CAP_SYS_TIME
];
Expand All @@ -137,8 +137,8 @@

SystemCallFilter = [
# "~@clock"
# "~@cpu-emulation"
# "~@debug"
"~@cpu-emulation"
"~@debug"
# "~@module"
# "~@mount"
"~@obsolete"
Expand Down
2 changes: 1 addition & 1 deletion modules/microvm/virtualization/microvm/guivm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ let
withResolved = true;
withTimesyncd = true;
withDebug = config.ghaf.profiles.debug.enable;
withHardenedConfigs = false;
withHardenedConfigs = true;
};
givc.guivm.enable = true;

Expand Down

0 comments on commit 9fe5ac2

Please sign in to comment.