diff --git a/provision/flake.lock b/provision/flake.lock index e1a259d8..c41ae50e 100644 --- a/provision/flake.lock +++ b/provision/flake.lock @@ -56,11 +56,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1691186842, - "narHash": "sha256-wxBVCvZUwq+XS4N4t9NqsHV4E64cPVqQ2fdDISpjcw0=", + "lastModified": 1696879762, + "narHash": "sha256-Ud6bH4DMcYHUDKavNMxAhcIpDGgHMyL/yaDEAVSImQY=", "owner": "nixos", "repo": "nixpkgs", - "rev": "18036c0be90f4e308ae3ebcab0e14aae0336fe42", + "rev": "f99e5f03cc0aa231ab5950a15ed02afec45ed51a", "type": "github" }, "original": { diff --git a/provision/hosts/kestrel/configuration.nix b/provision/hosts/kestrel/configuration.nix index dcfae03b..6cfa0a00 100644 --- a/provision/hosts/kestrel/configuration.nix +++ b/provision/hosts/kestrel/configuration.nix @@ -2,6 +2,7 @@ { imports = [ ../../modules + ./syncthing.nix ]; nix = { @@ -93,7 +94,7 @@ jellyfin.enable = false; peripherals.enable = true; samba-client.enable = true; - syncthing.enable = true; + syncthing.enable = false; virt-manager.enable = true; }; system = { diff --git a/provision/hosts/kestrel/syncthing.nix b/provision/hosts/kestrel/syncthing.nix new file mode 100644 index 00000000..e349988c --- /dev/null +++ b/provision/hosts/kestrel/syncthing.nix @@ -0,0 +1,24 @@ +{ config, lib, pkgs, user, ... }: +{ + environment.systemPackages = with pkgs; [ syncthing ]; + services.syncthing = { + enable = true; + user = "${user}"; + configDir = "/home/${user}/.config/syncthing"; + overrideDevices = true; + overrideFolders = true; + devices = { + "bulwark" = { id = "B5HZK2V-WA4WSQF-3JAIH4I-C6XQZ6J-EMMAIV5-CCYOA5G-N57GT6A-WH2GCQ2"; }; + }; + folders = { + "Gamecube Saves" = { + path = "/home/${user}/.local/share/dolphin-emu/GC"; + devices = [ "bulwark" ]; + }; + "Switch Saves" = { + path = "/home/${user}/.local/share/yuzu/nand/user/save/0000000000000000/705C6CE0127692D598F92E68B640D644"; + devices = [ "bulwark" ]; + }; + }; + }; +} diff --git a/provision/modules/devel/engineering.nix b/provision/modules/devel/engineering.nix index 7c00a2ae..75abb771 100644 --- a/provision/modules/devel/engineering.nix +++ b/provision/modules/devel/engineering.nix @@ -1,6 +1,6 @@ # CAD and 3d printing and everything nice -{ config, lib, pkgs, user, ... }: +{ config, lib, pkgs, pkgs-unstable, user, ... }: let cfg = config.modules.devel.engineering; @@ -8,6 +8,11 @@ in { options.modules.devel.engineering.enable = lib.mkEnableOption "engineering"; config = lib.mkIf cfg.enable { - environment.systemPackages = with pkgs; [ super-slicer freecad blender ]; + environment.systemPackages = with pkgs; [ + super-slicer + blender + ] ++ [ + pkgs-unstable.freecad + ]; }; }