-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create testing profile for non-default features
This patch enables features that are needed for testing and validation, which are not currently enabled by defualt in the standard MVP image. The corresponding image is intended only for the bi-weekly regression tests at present. Signed-off-by: Brian McGillion <[email protected]>
- Loading branch information
1 parent
15f2fd6
commit 7bb0c8e
Showing
6 changed files
with
80 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,6 @@ | |
imports = [ | ||
./laptop-x86.nix | ||
./mvp-user-trial.nix | ||
./mvp-user-trial-extras.nix | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Copyright 2022-2024 TII (SSRC) and the Ghaf contributors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
{ config, lib, ... }: | ||
let | ||
cfg = config.ghaf.reference.profiles.mvp-user-trial-extras; | ||
in | ||
{ | ||
imports = [ ./mvp-user-trial.nix ]; | ||
|
||
options.ghaf.reference.profiles.mvp-user-trial-extras = { | ||
enable = lib.mkEnableOption "Enable the mvp configuration for apps and services"; | ||
}; | ||
|
||
config = lib.mkIf cfg.enable { | ||
ghaf = { | ||
reference = { | ||
profiles = { | ||
mvp-user-trial.enable = true; | ||
}; | ||
|
||
programs = { | ||
windows-launcher = { | ||
enable = true; | ||
spice = true; | ||
}; | ||
}; | ||
}; | ||
|
||
profiles = { | ||
# Enable below option for host hardening features | ||
# Secure Boot | ||
host-hardening.enable = true; | ||
}; | ||
|
||
virtualization.microvm = { | ||
# Enable idsvm and the MiTM features | ||
idsvm = { | ||
enable = lib.mkForce true; | ||
mitmproxy.enable = lib.mkForce true; | ||
}; | ||
}; | ||
|
||
# Enable below option for session lock feature | ||
graphics = { | ||
boot.enable = lib.mkForce true; | ||
labwc = { | ||
autolock.enable = lib.mkForce true; | ||
autologinUser = lib.mkForce null; | ||
}; | ||
}; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters