Enable RetroArch on Steam Deck

This commit is contained in:
Invariantspace 2024-03-03 00:11:51 -08:00
parent 202e5c098a
commit 8534c96c66
17 changed files with 127 additions and 113 deletions

View file

@ -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
];
}

View file

@ -5,7 +5,6 @@ let usr = config.constants.userName; in {
let xdgCfg = config.xdg; in {
gtk = {
enable = true;
gtk2.configLocation = "${xdgCfg.configHome}/gtk-2.0/gtkrc";
theme = {
name = "Sweet-Dark";
package = pkgs.sweet;

View file

@ -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;
};
}