Skip to content

Commit a91a506

Browse files
fix: missing systemd settings
Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
1 parent e07d707 commit a91a506

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

modules/microvm/sysvms/audiovm-base.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ in
6767
withAudio = lib.ghaf.features.isEnabledFor globalConfig "audio" vmName;
6868
withBluetooth = lib.ghaf.features.isEnabledFor globalConfig "bluetooth" vmName;
6969
withNss = true;
70+
withPolkit = true;
7071
withResolved = true;
7172
withTimesyncd = true;
7273
withDebug = globalConfig.debug.enable or false;

modules/microvm/sysvms/idsvm/idsvm-base.nix

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,19 @@ in
4040

4141
ghaf = {
4242
type = "system-vm";
43+
44+
systemd = {
45+
enable = true;
46+
withName = "idsvm-systemd";
47+
withLocaled = true;
48+
withNss = true;
49+
withPolkit = true;
50+
withResolved = true;
51+
withTimesyncd = true;
52+
withDebug = globalConfig.debug.enable or false;
53+
withHardenedConfigs = true;
54+
};
55+
4356
profiles.debug.enable = lib.mkDefault (globalConfig.debug.enable or false);
4457

4558
# MiTM proxy feature - from globalConfig

modules/microvm/sysvms/netvm-base.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ in
7474
enable = true;
7575
withName = "netvm-systemd";
7676
withLocaled = true;
77+
withNss = true;
7778
withPolkit = true;
7879
withResolved = true;
7980
withTimesyncd = true;

0 commit comments

Comments
 (0)