syncthing fiddeling

This commit is contained in:
Ingolf Wagner 2023-03-13 09:47:33 +01:00
parent f3d6e88997
commit b9be980ad3
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
7 changed files with 16 additions and 4 deletions

View file

@ -260,7 +260,17 @@
nixos-hardware.nixosModules.common-cpu-intel nixos-hardware.nixosModules.common-cpu-intel
nixos-hardware.nixosModules.common-gpu-intel nixos-hardware.nixosModules.common-gpu-intel
]; ];
home-manager.users.root = {
home.stateVersion = "22.11";
imports = [
doom-emacs-nix.hmModule
];
programs.doom-emacs = {
enable = true;
emacsPackage = pkgs.emacs-nox;
doomPrivateDir = ./doom.d;
};
};
}; };
bobi = { name, nodes, pkgs, ... }: { bobi = { name, nodes, pkgs, ... }: {

View file

@ -4,7 +4,7 @@
home-manager.users.mainUser = { home-manager.users.mainUser = {
programs.doom-emacs = { programs.doom-emacs = {
enable = lib.mkDefault true; enable = lib.mkDefault true;
doomPrivateDir = ./doom.d; doomPrivateDir = ../../../doom.d;
extraConfig = '' extraConfig = ''
;; "monospace" means use the system default. However, the default is usually two ;; "monospace" means use the system default. However, the default is usually two
;; points larger than I'd like, so I specify size 12 here. ;; points larger than I'd like, so I specify size 12 here.

View file

@ -74,7 +74,8 @@
media = { media = {
enable = true; enable = true;
path = "/media/syncthing/media"; path = "/media/syncthing/media";
rescanInterval = 120 * 3600; rescanInterval = 30 * 24 * 3600;
type = "receiveonly";
versioning = { versioning = {
type = "simple"; type = "simple";
params.keep = "3"; params.keep = "3";

View file

@ -43,8 +43,9 @@
media = { media = {
enable = true; enable = true;
watch = true; watch = true;
type = "sendonly";
path = "/media/syncthing/media"; path = "/media/syncthing/media";
rescanInterval = 3 * 24 * 3600; rescanInterval = 27 * 24 * 3600;
}; };
music-projects = { music-projects = {
enable = true; enable = true;