diff --git a/nixos/syncthing.nix b/nixos/syncthing.nix index 426dfdad..e8943b19 100644 --- a/nixos/syncthing.nix +++ b/nixos/syncthing.nix @@ -2,6 +2,7 @@ config, pkgs, inputs, + system, ... }: let workstations = ["skinnyv" "foryog" "thinky"]; @@ -13,7 +14,7 @@ in { dataDir = "/home/cyryl/"; openDefaultPorts = true; package = - inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".syncthing; + inputs.nixpkgs-nixos-unstable.legacyPackages."${system}".syncthing; overrideDevices = false; settings = { devices = { diff --git a/nixos/tailscale/default.nix b/nixos/tailscale/default.nix index 15893ffa..a9628191 100644 --- a/nixos/tailscale/default.nix +++ b/nixos/tailscale/default.nix @@ -2,10 +2,11 @@ config, pkgs, inputs, + system, ... }: let inherit - (inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux") + (inputs.nixpkgs-nixos-unstable.legacyPackages."${system}") tailscale ; in {