Enable RetroArch on Steam Deck
This commit is contained in:
parent
202e5c098a
commit
27d3c14049
16 changed files with 127 additions and 112 deletions
|
|
@ -4,7 +4,7 @@
|
|||
imports = with inputs; [
|
||||
disko.nixosModules.default
|
||||
hardware.nixosModules.asus-zephyrus-ga402
|
||||
] ++ [
|
||||
../../common
|
||||
./audio.nix
|
||||
./configuration.nix
|
||||
./device.nix
|
||||
|
|
@ -16,6 +16,5 @@
|
|||
./syncthing.nix
|
||||
./tailscale.nix
|
||||
./zfs.nix
|
||||
../../common
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,28 +1,14 @@
|
|||
{ 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 media = "nebula"; in {
|
||||
devices.${media} = {
|
||||
name = media;
|
||||
id = "NJXA5XS-2PSWECD-UHBV7JH-IR2RSWY-PRUPFTZ-AHL7IN6-RXSLZKB-2FUNRQH";
|
||||
};
|
||||
folders.music = {
|
||||
enable = true;
|
||||
devices = [ media ];
|
||||
id = "Music";
|
||||
label = "Music";
|
||||
path = "~/Music";
|
||||
type = "sendonly";
|
||||
};
|
||||
settings.folders.music = {
|
||||
enable = true;
|
||||
devices = [ "nebula" ];
|
||||
path = "~/Music";
|
||||
type = "sendonly";
|
||||
};
|
||||
user = config.constants.userName;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue