updated syncthing

This commit is contained in:
Ingolf Wagner 2020-10-08 21:09:35 +02:00
parent 3468185a55
commit 607dfb0efc
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
7 changed files with 49 additions and 31 deletions

View file

@ -38,6 +38,10 @@
enable = true;
path = "/home/palo/zettlr";
};
programs = {
enable = true;
path = "/home/palo/programs";
};
# no need to be encrypted
# -----------------------

View file

@ -1,25 +1,25 @@
{ lib, pkgs, config, ... }:
{
{ lib, pkgs, config, ... }: {
users.users.property = {};
users.users.property = { };
systemd.services.property = {
enable = true;
wantedBy = [ "multi-user.target" ];
path = [
(pkgs.python3.withPackages (ps: with ps; [
flask
selenium
beautifulsoup4
urllib3
sqlalchemy
mysqlclient
pytest
dateparser
geopy
nltk
click
]))
(pkgs.python3.withPackages (ps:
with ps; [
flask
selenium
beautifulsoup4
urllib3
sqlalchemy
mysqlclient
pytest
dateparser
geopy
nltk
click
]))
];
serviceConfig = { User = "property"; };

View file

@ -31,6 +31,10 @@
enable = true;
path = "/home/palo/fotos";
};
programs = {
enable = true;
path = "/home/palo/programs";
};
# no need to be encrypted
# -----------------------

View file

@ -46,9 +46,7 @@ in {
emo = callPackage ./emoji { };
processing = callPackage ./processing {
jdk = super.oraclejdk8;
};
processing = callPackage ./processing { jdk = super.oraclejdk8; };
otpmenu = callPackage ./otpmenu { };

View file

@ -39,18 +39,17 @@ let
};
system = name:
let
exclusive = name:
if name == "workhorse" then {
property.file = toString ./submodules/property;
} else {
};
in
{
system.file = toString ./system;
configs.file = toString ./configs;
nixos-config.symlink = "configs/${name}/configuration.nix";
} // (exclusive name);
let
exclusive = name:
if name == "workhorse" then {
property.file = toString ./submodules/property;
} else
{ };
in {
system.file = toString ./system;
configs.file = toString ./configs;
nixos-config.symlink = "configs/${name}/configuration.nix";
} // (exclusive name);
desktopSecrets = {
desktop_secrets.pass = {

View file

@ -97,6 +97,15 @@ with lib; {
params.keep = "10";
};
};
programs = {
enable = lib.mkDefault false;
watch = true;
devices = [ "workout" "sterni" ];
versioning = {
type = "simple";
params.keep = "1";
};
};
# no need to be stored on encrypted drives
# ----------------------------------------

View file

@ -318,6 +318,10 @@ in {
nixfmt
dateutils
# needed for pycairo (in venv)
pkgconf
cairo
# etc-info stuff
(pkgs.writers.writeDashBin "etc-info-sync" (lib.concatStringsSep "\n"
(map (host: "rsync -avLz ${host}.private:/etc/info/ ~/.etc_info")