Compare commits

...

2 commits

Author SHA1 Message Date
willifan
1b94cf91f4 added aarch64-linux emulation to Anton 2024-12-14 18:47:14 +01:00
willifan
5f980fc193 added Damin syncthing 2024-12-14 18:45:51 +01:00
3 changed files with 7 additions and 3 deletions

View file

@ -16,6 +16,7 @@
devices = { devices = {
Lenni = { id = "XS6NR2Q-DHVB5G4-P43CHWR-TVBIY5A-FCIS7CU-S5UVNZA-5YPJYST-2EO2GAG"; }; Lenni = { id = "XS6NR2Q-DHVB5G4-P43CHWR-TVBIY5A-FCIS7CU-S5UVNZA-5YPJYST-2EO2GAG"; };
Puenktchen = { id = "VP3YVIM-JNSZTXV-7AS7FA2-3W5QKH6-XOWXX7N-STUR4JR-PR6SPCV-HJZMAAN"; }; Puenktchen = { id = "VP3YVIM-JNSZTXV-7AS7FA2-3W5QKH6-XOWXX7N-STUR4JR-PR6SPCV-HJZMAAN"; };
Damin = { id = "HAGKFGG-EMCPKHG-Y7V2ACJ-DJVAIIA-A6TNGTQ-VWPB3F5-PES673W-W2YBJAD"; };
}; };
folders = { folders = {
"Documents" = { "Documents" = {
@ -26,7 +27,7 @@
"Enpass" = { "Enpass" = {
id = "ciksm-xsw4m"; id = "ciksm-xsw4m";
path = "/mnt/data/services/syncthing/data/Enpass"; path = "/mnt/data/services/syncthing/data/Enpass";
devices = [ "Lenni" "Puenktchen" ]; devices = [ "Lenni" "Puenktchen" "Damin" ];
}; };
"Pictures" = { "Pictures" = {
id = "po4qj-q9t0t"; id = "po4qj-q9t0t";

View file

@ -4,7 +4,7 @@
nix.buildMachines = [ { nix.buildMachines = [ {
hostName = "Anton"; hostName = "Anton";
sshUser = "builder"; sshUser = "builder";
system = "x86_64-linux"; systems = [ "x86_64-linux" "aarch64-linux" ];
protocol = "ssh"; protocol = "ssh";
# if the builder supports building for multiple architectures, # if the builder supports building for multiple architectures,
# replace the previous line by, e.g. # replace the previous line by, e.g.

View file

@ -1,4 +1,4 @@
{ ... }: { config, ... }:
{ {
users.users.builder = { users.users.builder = {
group = "builder"; group = "builder";
@ -8,4 +8,7 @@
}; };
users.groups.builder = { }; users.groups.builder = { };
nix.settings.trusted-users = [ "builder" "willifan" ]; nix.settings.trusted-users = [ "builder" "willifan" ];
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems;
} }