moved syncthing_base.nix
This commit is contained in:
parent
0a88a21372
commit
75a57fb331
@ -1,6 +1,6 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [ ../../users/richie/syncthing_base.nix ];
|
||||
imports = [ ../rhapsody-in-green/syncthing_base.nix ];
|
||||
|
||||
networking = {
|
||||
hostId = "1beb3027";
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
imports = [
|
||||
./hardware.nix
|
||||
../../users/richie/syncthing_base.nix
|
||||
./syncthing_base.nix
|
||||
];
|
||||
|
||||
boot = {
|
||||
|
@ -1,5 +1,3 @@
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
@ -9,14 +7,6 @@
|
||||
dataDir = "/home/richie/Syncthing";
|
||||
configDir = "/home/richie/.config/syncthing";
|
||||
settings = {
|
||||
gui = {
|
||||
user = "richie";
|
||||
password.from_command = [
|
||||
"/usr/bin/env"
|
||||
"cat"
|
||||
"${config.sops.secrets."syncthing/password".path}"
|
||||
];
|
||||
};
|
||||
devices = {
|
||||
phone.id = "LTGPLAE-M4ZDJTM-TZ3DJGY-SLLAVWF-CQDVEVS-RGCS75T-GAPZYK3-KUM6LA5";
|
||||
jeeves.id = "7YQ4UEW-OPQEBH4-6YKJH4B-ZCE3SAX-5EIK5JL-WJDIWUA-WA2N3D5-MNK6GAV";
|
||||
@ -24,10 +14,4 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
sops = {
|
||||
defaultSopsFile = ./secrets.yaml;
|
||||
secrets = {
|
||||
"syncthing/password".owner = "richie";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user