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,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
|
system,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
workstations = ["skinnyv" "foryog" "thinky"];
|
workstations = ["skinnyv" "foryog" "thinky"];
|
||||||
|
@ -13,7 +14,7 @@ in {
|
||||||
dataDir = "/home/cyryl/";
|
dataDir = "/home/cyryl/";
|
||||||
openDefaultPorts = true;
|
openDefaultPorts = true;
|
||||||
package =
|
package =
|
||||||
inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".syncthing;
|
inputs.nixpkgs-nixos-unstable.legacyPackages."${system}".syncthing;
|
||||||
overrideDevices = false;
|
overrideDevices = false;
|
||||||
settings = {
|
settings = {
|
||||||
devices = {
|
devices = {
|
||||||
|
|
|
@ -2,10 +2,11 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
|
system,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit
|
inherit
|
||||||
(inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux")
|
(inputs.nixpkgs-nixos-unstable.legacyPackages."${system}")
|
||||||
tailscale
|
tailscale
|
||||||
;
|
;
|
||||||
in {
|
in {
|
||||||
|
|
Loading…
Reference in a new issue