fix: lua scripts not working in mgba, no doc sync

This commit is contained in:
Leon Schwarzäugl 2025-05-24 17:16:21 +02:00
parent 267c03f8e5
commit 2fda153ede
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
5 changed files with 72 additions and 54 deletions

View file

@ -1,6 +1,6 @@
{ self, lib, pkgs, config, ... }:
let
inherit (config.swarselsystems) mainUser homeDir xdgDir;
inherit (config.swarselsystems) mainUser xdgDir;
owner = mainUser;
sopsFile = self + /secrets/work/secrets.yaml;
swarselService = name: description: execStart: {
@ -144,6 +144,8 @@ in
libisoburn
govc
terraform
opentofu
terragrunt
graphviz
# vm
@ -166,20 +168,20 @@ in
'';
};
syncthing = {
settings = {
"winters" = {
id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA";
};
folders = {
"Documents" = {
path = "${homeDir}/Documents";
devices = [ "magicant" "winters" ];
id = "hgr3d-pfu3w";
};
};
};
};
# syncthing = {
# settings = {
# "winters" = {
# id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA";
# };
# folders = {
# "Documents" = {
# path = "${homeDir}/Documents";
# devices = [ "magicant" "winters" ];
# id = "hgr3d-pfu3w";
# };
# };
# };
# };
udev.extraRules = ''
# share screen when dongle detected