Syncthing, HM and Nixos Module
This commit is contained in:
parent
bdb1ba2249
commit
863101b6f6
4 changed files with 152 additions and 2 deletions
|
|
@ -3,8 +3,7 @@ let
|
|||
email = "admin@woach.me";
|
||||
in {
|
||||
imports = [
|
||||
./hardware.nix
|
||||
];
|
||||
./hardware.nix ];
|
||||
system.stateVersion = "24.11";
|
||||
system.timezone = "America/Los_Angeles";
|
||||
system.users.bigWheels = [ "pan" ];
|
||||
|
|
@ -66,6 +65,22 @@ in {
|
|||
server.domain = "ginko.woach.me";
|
||||
};
|
||||
|
||||
syncthing = {
|
||||
enable = true;
|
||||
devices = {
|
||||
"homura".id = "NEP24DB-DVXAHTZ-TCCNREQ-Q5TSC7K-ZXPWC4L-5ELGKQX-4I2P47O-2FT5QAU";
|
||||
"onizuka".id = "5S6QMND-MHD2HYR-DR6KQD4-6AWJTRL-FQUCR7W-FD2KBT3-AF6RE6R-F47KBQC";
|
||||
};
|
||||
|
||||
folders = {
|
||||
"wiki" = {
|
||||
path = "/var/lib/wiki";
|
||||
devices = [ "homura" "onizuka" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
systemd.tmpfiles.rules = [ "d /var/lib/wiki 0755 syncthing syncthing -" ];
|
||||
|
||||
postgres.enable = true;
|
||||
|
||||
shell.enabledShells = [ "fish" ];
|
||||
|
|
|
|||
|
|
@ -48,6 +48,14 @@
|
|||
ssh.enable = true;
|
||||
librewolf.enable = true;
|
||||
librewolf.make_default = true;
|
||||
syncthing = {
|
||||
enable = true;
|
||||
devices."juri".id = "HAUUSTK-W2YD6MV-DL2T2MV-XSHSFSC-IA6P6GY-B62IC27-YKHVQLX-374FRAO";
|
||||
folders."wiki" = {
|
||||
path = "${config.xdg.userDirs.documents}/neowiki";
|
||||
devices = [ "juri" ];
|
||||
};
|
||||
};
|
||||
|
||||
mpv.enable = true;
|
||||
zathura.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue