remove hardcoded system type assumptions to allow for aarch hosts

This commit is contained in:
Cyryl Płotnicki 2024-01-02 19:14:31 +00:00
parent 0b0150fa75
commit a78cb848f1
2 changed files with 4 additions and 2 deletions

View file

@ -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 = {

View file

@ -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 {