remove hardcoded system type assumptions to allow for aarch hosts
This commit is contained in:
parent
0b0150fa75
commit
a78cb848f1
2 changed files with 4 additions and 2 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue