setup pob user for running pob2-frajul

This commit is contained in:
2025-10-05 15:36:06 +02:00
parent 11ee156b29
commit fc7285bd5c
4 changed files with 14 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
{
writeShellApplication,
xhost
xhost,
}:
writeShellApplication {
name = "pob2-frajul";
@@ -10,7 +10,7 @@ writeShellApplication {
];
text = ''
xhost +
sudo su pob -c "sh /home/pob/pob2.sh"
xhost +
sudo -u pob -i sh /home/pob/pob2.sh
'';
}