summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/gui/wbob-kiosk.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2022-06-06 21:16:30 +0200
committermakefu <github@syntax-fehler.de>2022-06-06 21:16:41 +0200
commit43486ea6d8f2784a36616313675bd06ce433ccc1 (patch)
tree396c1e47a79977d0282dad36d4db25a96048cbdf /makefu/2configs/gui/wbob-kiosk.nix
parent37006c21985e64e8835084c7a6792ed39c2e6661 (diff)
ma bureautomation: home-assistant is now user-controlled
Diffstat (limited to 'makefu/2configs/gui/wbob-kiosk.nix')
-rw-r--r--makefu/2configs/gui/wbob-kiosk.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/makefu/2configs/gui/wbob-kiosk.nix b/makefu/2configs/gui/wbob-kiosk.nix
index dc28cf4d2..55df23640 100644
--- a/makefu/2configs/gui/wbob-kiosk.nix
+++ b/makefu/2configs/gui/wbob-kiosk.nix
@@ -4,17 +4,21 @@
imports = [
./base.nix
];
- users.users.makefu = {
- packages = [ pkgs.chromium ];
- extraGroups = [ "audio" "pulse" ];
+ users.users.kiosk = {
+ packages = [ pkgs.chromium pkgs.vscode ];
+ group = "kiosk";
+ isNormalUser = true;
+ uid = 1003;
+ extraGroups = [ "wheel" "audio" "pulse" ];
};
+ users.groups.kiosk.gid = 989 ;
services.xserver = {
windowManager = lib.mkForce { awesome.enable = false; };
displayManager.gdm.enable = true;
displayManager.autoLogin = {
enable = true;
- user = "makefu";
+ user = lib.mkForce "kiosk";
};
displayManager.defaultSession = "gnome";
desktopManager.gnome.enable = true;