mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
fix: lua scripts not working in mgba, no doc sync
This commit is contained in:
parent
267c03f8e5
commit
2fda153ede
5 changed files with 72 additions and 54 deletions
|
|
@ -3638,7 +3638,7 @@ When adding a new entry here, do not forget to add it in the default output of t
|
||||||
let
|
let
|
||||||
additions = final: _: import "${self}/pkgs" { pkgs = final; inherit lib; };
|
additions = final: _: import "${self}/pkgs" { pkgs = final; inherit lib; };
|
||||||
|
|
||||||
modifications = _: prev: {
|
modifications = final: prev: {
|
||||||
vesktop = prev.vesktop.override {
|
vesktop = prev.vesktop.override {
|
||||||
withSystemVencord = true;
|
withSystemVencord = true;
|
||||||
};
|
};
|
||||||
|
|
@ -3651,7 +3651,7 @@ When adding a new entry here, do not forget to add it in the default output of t
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# mgba = final.swarsel-mgba;
|
mgba = final.swarsel-mgba;
|
||||||
|
|
||||||
retroarch = prev.retroarch.withCores (cores: with cores; [
|
retroarch = prev.retroarch.withCores (cores: with cores; [
|
||||||
snes9x # snes
|
snes9x # snes
|
||||||
|
|
@ -7687,16 +7687,16 @@ Here we just define some aliases for rebuilding the system, and we allow some in
|
||||||
devices = [ "sync (@oracle)" "magicant" "${workHostName}" ];
|
devices = [ "sync (@oracle)" "magicant" "${workHostName}" ];
|
||||||
id = "hgp9s-fyq3p";
|
id = "hgp9s-fyq3p";
|
||||||
};
|
};
|
||||||
"Documents" = {
|
# "Documents" = {
|
||||||
path = "/Vault/data/syncthing/Documents";
|
# path = "/Vault/data/syncthing/Documents";
|
||||||
type = "receiveonly";
|
# type = "receiveonly";
|
||||||
versioning = {
|
# versioning = {
|
||||||
type = "simple";
|
# type = "simple";
|
||||||
params.keep = "5";
|
# params.keep = "5";
|
||||||
};
|
# };
|
||||||
devices = [ "magicant" "${workHostName}" ];
|
# devices = [ "magicant" "${workHostName}" ];
|
||||||
id = "hgr3d-pfu3w";
|
# id = "hgr3d-pfu3w";
|
||||||
};
|
# };
|
||||||
# ".elfeed" = {
|
# ".elfeed" = {
|
||||||
# path = "/Vault/data/syncthing/.elfeed";
|
# path = "/Vault/data/syncthing/.elfeed";
|
||||||
# devices = [ "sync (@oracle)" "magicant" "${workHostName}" ];
|
# devices = [ "sync (@oracle)" "magicant" "${workHostName}" ];
|
||||||
|
|
@ -8469,7 +8469,7 @@ Options that I need specifically at work. There are more options at [[#h:f0b2ea9
|
||||||
#+begin_src nix :tangle modules/nixos/optional/work.nix
|
#+begin_src nix :tangle modules/nixos/optional/work.nix
|
||||||
{ self, lib, pkgs, config, ... }:
|
{ self, lib, pkgs, config, ... }:
|
||||||
let
|
let
|
||||||
inherit (config.swarselsystems) mainUser homeDir xdgDir;
|
inherit (config.swarselsystems) mainUser xdgDir;
|
||||||
owner = mainUser;
|
owner = mainUser;
|
||||||
sopsFile = self + /secrets/work/secrets.yaml;
|
sopsFile = self + /secrets/work/secrets.yaml;
|
||||||
swarselService = name: description: execStart: {
|
swarselService = name: description: execStart: {
|
||||||
|
|
@ -8613,6 +8613,8 @@ Options that I need specifically at work. There are more options at [[#h:f0b2ea9
|
||||||
libisoburn
|
libisoburn
|
||||||
govc
|
govc
|
||||||
terraform
|
terraform
|
||||||
|
opentofu
|
||||||
|
terragrunt
|
||||||
graphviz
|
graphviz
|
||||||
|
|
||||||
# vm
|
# vm
|
||||||
|
|
@ -8635,20 +8637,20 @@ Options that I need specifically at work. There are more options at [[#h:f0b2ea9
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
syncthing = {
|
# syncthing = {
|
||||||
settings = {
|
# settings = {
|
||||||
"winters" = {
|
# "winters" = {
|
||||||
id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA";
|
# id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA";
|
||||||
};
|
# };
|
||||||
folders = {
|
# folders = {
|
||||||
"Documents" = {
|
# "Documents" = {
|
||||||
path = "${homeDir}/Documents";
|
# path = "${homeDir}/Documents";
|
||||||
devices = [ "magicant" "winters" ];
|
# devices = [ "magicant" "winters" ];
|
||||||
id = "hgr3d-pfu3w";
|
# id = "hgr3d-pfu3w";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
udev.extraRules = ''
|
udev.extraRules = ''
|
||||||
# share screen when dongle detected
|
# share screen when dongle detected
|
||||||
|
|
@ -12357,6 +12359,13 @@ The rest of the settings is at [[#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf][work]]
|
||||||
};
|
};
|
||||||
swarselsystems = {
|
swarselsystems = {
|
||||||
startup = [
|
startup = [
|
||||||
|
{ command = "nextcloud --background"; }
|
||||||
|
{ command = "vesktop --start-minimized --enable-speech-dispatcher --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime"; }
|
||||||
|
{ command = "element-desktop --hidden --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu-driver-bug-workarounds"; }
|
||||||
|
{ command = "ANKI_WAYLAND=1 anki"; }
|
||||||
|
{ command = "OBSIDIAN_USE_WAYLAND=1 obsidian"; }
|
||||||
|
{ command = "nm-applet"; }
|
||||||
|
{ command = "feishin"; }
|
||||||
{ command = "teams-for-linux"; }
|
{ command = "teams-for-linux"; }
|
||||||
{ command = "1password"; }
|
{ command = "1password"; }
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -329,6 +329,13 @@ in
|
||||||
};
|
};
|
||||||
swarselsystems = {
|
swarselsystems = {
|
||||||
startup = [
|
startup = [
|
||||||
|
{ command = "nextcloud --background"; }
|
||||||
|
{ command = "vesktop --start-minimized --enable-speech-dispatcher --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime"; }
|
||||||
|
{ command = "element-desktop --hidden --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu-driver-bug-workarounds"; }
|
||||||
|
{ command = "ANKI_WAYLAND=1 anki"; }
|
||||||
|
{ command = "OBSIDIAN_USE_WAYLAND=1 obsidian"; }
|
||||||
|
{ command = "nm-applet"; }
|
||||||
|
{ command = "feishin"; }
|
||||||
{ command = "teams-for-linux"; }
|
{ command = "teams-for-linux"; }
|
||||||
{ command = "1password"; }
|
{ command = "1password"; }
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{ self, lib, pkgs, config, ... }:
|
{ self, lib, pkgs, config, ... }:
|
||||||
let
|
let
|
||||||
inherit (config.swarselsystems) mainUser homeDir xdgDir;
|
inherit (config.swarselsystems) mainUser xdgDir;
|
||||||
owner = mainUser;
|
owner = mainUser;
|
||||||
sopsFile = self + /secrets/work/secrets.yaml;
|
sopsFile = self + /secrets/work/secrets.yaml;
|
||||||
swarselService = name: description: execStart: {
|
swarselService = name: description: execStart: {
|
||||||
|
|
@ -144,6 +144,8 @@ in
|
||||||
libisoburn
|
libisoburn
|
||||||
govc
|
govc
|
||||||
terraform
|
terraform
|
||||||
|
opentofu
|
||||||
|
terragrunt
|
||||||
graphviz
|
graphviz
|
||||||
|
|
||||||
# vm
|
# vm
|
||||||
|
|
@ -166,20 +168,20 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
syncthing = {
|
# syncthing = {
|
||||||
settings = {
|
# settings = {
|
||||||
"winters" = {
|
# "winters" = {
|
||||||
id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA";
|
# id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA";
|
||||||
};
|
# };
|
||||||
folders = {
|
# folders = {
|
||||||
"Documents" = {
|
# "Documents" = {
|
||||||
path = "${homeDir}/Documents";
|
# path = "${homeDir}/Documents";
|
||||||
devices = [ "magicant" "winters" ];
|
# devices = [ "magicant" "winters" ];
|
||||||
id = "hgr3d-pfu3w";
|
# id = "hgr3d-pfu3w";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
udev.extraRules = ''
|
udev.extraRules = ''
|
||||||
# share screen when dongle detected
|
# share screen when dongle detected
|
||||||
|
|
|
||||||
|
|
@ -74,16 +74,16 @@ in
|
||||||
devices = [ "sync (@oracle)" "magicant" "${workHostName}" ];
|
devices = [ "sync (@oracle)" "magicant" "${workHostName}" ];
|
||||||
id = "hgp9s-fyq3p";
|
id = "hgp9s-fyq3p";
|
||||||
};
|
};
|
||||||
"Documents" = {
|
# "Documents" = {
|
||||||
path = "/Vault/data/syncthing/Documents";
|
# path = "/Vault/data/syncthing/Documents";
|
||||||
type = "receiveonly";
|
# type = "receiveonly";
|
||||||
versioning = {
|
# versioning = {
|
||||||
type = "simple";
|
# type = "simple";
|
||||||
params.keep = "5";
|
# params.keep = "5";
|
||||||
};
|
# };
|
||||||
devices = [ "magicant" "${workHostName}" ];
|
# devices = [ "magicant" "${workHostName}" ];
|
||||||
id = "hgr3d-pfu3w";
|
# id = "hgr3d-pfu3w";
|
||||||
};
|
# };
|
||||||
# ".elfeed" = {
|
# ".elfeed" = {
|
||||||
# path = "/Vault/data/syncthing/.elfeed";
|
# path = "/Vault/data/syncthing/.elfeed";
|
||||||
# devices = [ "sync (@oracle)" "magicant" "${workHostName}" ];
|
# devices = [ "sync (@oracle)" "magicant" "${workHostName}" ];
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
let
|
let
|
||||||
additions = final: _: import "${self}/pkgs" { pkgs = final; inherit lib; };
|
additions = final: _: import "${self}/pkgs" { pkgs = final; inherit lib; };
|
||||||
|
|
||||||
modifications = _: prev: {
|
modifications = final: prev: {
|
||||||
vesktop = prev.vesktop.override {
|
vesktop = prev.vesktop.override {
|
||||||
withSystemVencord = true;
|
withSystemVencord = true;
|
||||||
};
|
};
|
||||||
|
|
@ -16,7 +16,7 @@ let
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# mgba = final.swarsel-mgba;
|
mgba = final.swarsel-mgba;
|
||||||
|
|
||||||
retroarch = prev.retroarch.withCores (cores: with cores; [
|
retroarch = prev.retroarch.withCores (cores: with cores; [
|
||||||
snes9x # snes
|
snes9x # snes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue