summaryrefslogtreecommitdiff
path: root/hardware
diff options
context:
space:
mode:
Diffstat (limited to 'hardware')
-rw-r--r--hardware/cmsb-001/configuration.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/hardware/cmsb-001/configuration.nix b/hardware/cmsb-001/configuration.nix
index 7eb6484..a1578d6 100644
--- a/hardware/cmsb-001/configuration.nix
+++ b/hardware/cmsb-001/configuration.nix
@@ -122,6 +122,25 @@
camu
];
+ security.wrappers = {
+ cage = {
+ owner = "root";
+ group = "root";
+ source = "${pkgs.cage}/bin/cage";
+ setuid = true;
+ };
+ };
+
+ services.cage = {
+ enable = true;
+ user = "akiyo";
+ environment = {
+ WLR_LIBINPUT_NO_DEVICES = "1";
+ LIBGL_ALWAYS_SOFTWARE = "1";
+ };
+ program = "${pkgs.camu}/bin/cmv";
+ };
+
# https://pablo.tools/blog/computers/nixos-generate-raspberry-images/
#sdImage = {
# populateFirmwareCommands = let