NixOS on Steam Deck OLED
This commit is contained in:
parent
0863fa0dfb
commit
4dedb233de
23 changed files with 375 additions and 108 deletions
27
linux/protostar/syncthing.nix
Normal file
27
linux/protostar/syncthing.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
services.syncthing = let home = config.constants.homeDir; in {
|
||||
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";
|
||||
};
|
||||
};
|
||||
user = config.constants.userName;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue