updated syncthing
This commit is contained in:
parent
3468185a55
commit
607dfb0efc
7 changed files with 49 additions and 31 deletions
|
@ -38,6 +38,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
path = "/home/palo/zettlr";
|
path = "/home/palo/zettlr";
|
||||||
};
|
};
|
||||||
|
programs = {
|
||||||
|
enable = true;
|
||||||
|
path = "/home/palo/programs";
|
||||||
|
};
|
||||||
|
|
||||||
# no need to be encrypted
|
# no need to be encrypted
|
||||||
# -----------------------
|
# -----------------------
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{ lib, pkgs, config, ... }:
|
{ lib, pkgs, config, ... }: {
|
||||||
{
|
|
||||||
|
|
||||||
users.users.property = {};
|
users.users.property = { };
|
||||||
|
|
||||||
systemd.services.property = {
|
systemd.services.property = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
path = [
|
path = [
|
||||||
(pkgs.python3.withPackages (ps: with ps; [
|
(pkgs.python3.withPackages (ps:
|
||||||
|
with ps; [
|
||||||
flask
|
flask
|
||||||
selenium
|
selenium
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
|
|
|
@ -31,6 +31,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
path = "/home/palo/fotos";
|
path = "/home/palo/fotos";
|
||||||
};
|
};
|
||||||
|
programs = {
|
||||||
|
enable = true;
|
||||||
|
path = "/home/palo/programs";
|
||||||
|
};
|
||||||
|
|
||||||
# no need to be encrypted
|
# no need to be encrypted
|
||||||
# -----------------------
|
# -----------------------
|
||||||
|
|
|
@ -46,9 +46,7 @@ in {
|
||||||
|
|
||||||
emo = callPackage ./emoji { };
|
emo = callPackage ./emoji { };
|
||||||
|
|
||||||
processing = callPackage ./processing {
|
processing = callPackage ./processing { jdk = super.oraclejdk8; };
|
||||||
jdk = super.oraclejdk8;
|
|
||||||
};
|
|
||||||
|
|
||||||
otpmenu = callPackage ./otpmenu { };
|
otpmenu = callPackage ./otpmenu { };
|
||||||
|
|
||||||
|
|
|
@ -43,10 +43,9 @@ let
|
||||||
exclusive = name:
|
exclusive = name:
|
||||||
if name == "workhorse" then {
|
if name == "workhorse" then {
|
||||||
property.file = toString ./submodules/property;
|
property.file = toString ./submodules/property;
|
||||||
} else {
|
} else
|
||||||
};
|
{ };
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
system.file = toString ./system;
|
system.file = toString ./system;
|
||||||
configs.file = toString ./configs;
|
configs.file = toString ./configs;
|
||||||
nixos-config.symlink = "configs/${name}/configuration.nix";
|
nixos-config.symlink = "configs/${name}/configuration.nix";
|
||||||
|
|
|
@ -97,6 +97,15 @@ with lib; {
|
||||||
params.keep = "10";
|
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
|
# no need to be stored on encrypted drives
|
||||||
# ----------------------------------------
|
# ----------------------------------------
|
||||||
|
|
|
@ -318,6 +318,10 @@ in {
|
||||||
nixfmt
|
nixfmt
|
||||||
dateutils
|
dateutils
|
||||||
|
|
||||||
|
# needed for pycairo (in venv)
|
||||||
|
pkgconf
|
||||||
|
cairo
|
||||||
|
|
||||||
# etc-info stuff
|
# etc-info stuff
|
||||||
(pkgs.writers.writeDashBin "etc-info-sync" (lib.concatStringsSep "\n"
|
(pkgs.writers.writeDashBin "etc-info-sync" (lib.concatStringsSep "\n"
|
||||||
(map (host: "rsync -avLz ${host}.private:/etc/info/ ~/.etc_info")
|
(map (host: "rsync -avLz ${host}.private:/etc/info/ ~/.etc_info")
|
||||||
|
|
Loading…
Reference in a new issue