summaryrefslogtreecommitdiff
path: root/hardware/cmsb-001
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-11-27 13:23:50 -0500
committerAndrew Opalach <andrew@akon.city> 2024-11-27 13:26:50 -0500
commit47405e62670f1db9b5d07e18b527d33dbfe54566 (patch)
tree271b903f2dfe859bb63eb1adb36def12ca7f0596 /hardware/cmsb-001
parent2ef0b00076a122665c7301222d0a50997e2b7e91 (diff)
downloadcamu-47405e62670f1db9b5d07e18b527d33dbfe54566.tar.gz
camu-47405e62670f1db9b5d07e18b527d33dbfe54566.tar.bz2
camu-47405e62670f1db9b5d07e18b527d33dbfe54566.zip
Change defaults
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'hardware/cmsb-001')
-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