Enable RetroArch on Steam Deck

This commit is contained in:
Invariantspace 2024-03-03 00:11:51 -08:00
parent 202e5c098a
commit 27d3c14049
16 changed files with 127 additions and 112 deletions

View file

@ -1,27 +1,13 @@
{ config, ... }:
{ ... }:
{
services.syncthing = let home = config.constants.homeDir; in {
services.syncthing = {
enable = true;
configDir = "${home}/.config/syncthing";
dataDir = "${home}/.local/share/syncthing";
openDefaultPorts = true;
overrideDevices = true;
overrideFolders = true;
settings = let pc = "blitzar"; in {
devices.${pc} = {
name = pc;
id = "KGCBCIZ-GG6KMQ2-FLK5BWW-GLCEDML-5LCI24S-UKO5UWL-HWNCPYX-ZWWD5AQ";
};
folders.music = {
enable = true;
devices = [ pc ];
id = "Music";
label = "Music";
path = "~/Music";
type = "receiveonly";
};
settings.folders.music = {
enable = true;
devices = [ "blitzar" ];
path = "~/Music";
type = "receiveonly";
};
user = config.constants.userName;
};
}