fix mobi and bobi

This commit is contained in:
Ingolf Wagner 2023-01-18 11:10:21 +01:00
parent 1c3cacdd07
commit 4add12c084
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 6 additions and 6 deletions

View file

@ -147,8 +147,8 @@
}; };
}; };
defaults = { name, pkgs, ... }: { defaults = { name, pkgs, lib, ... }: {
deployment.buildOnTarget = true; deployment.buildOnTarget = lib.mkDefault true;
nix = { nix = {
# no channesl needed this way # no channesl needed this way
nixPath = [ "nixpkgs=${pkgs.path}" ]; nixPath = [ "nixpkgs=${pkgs.path}" ];
@ -219,9 +219,8 @@
}; };
bobi = { name, nodes, pkgs, ... }: { bobi = { name, nodes, pkgs, ... }: {
#deployment.targetHost = "${name}.private"; deployment.targetHost = "${name}.private";
deployment.targetHost = "localhost"; deployment.buildOnTarget = false;
deployment.targetPort = 2222;
deployment.tags = [ "desktop" "usb" "private" ]; deployment.tags = [ "desktop" "usb" "private" ];
imports = [ imports = [
grocy-scanner.nixosModule grocy-scanner.nixosModule
@ -236,6 +235,7 @@
mobi = { name, nodes, pkgs, ... }: { mobi = { name, nodes, pkgs, ... }: {
deployment.targetHost = "${name}.private"; deployment.targetHost = "${name}.private";
deployment.buildOnTarget = false;
deployment.tags = [ "desktop" "usb" "private" ]; deployment.tags = [ "desktop" "usb" "private" ];
imports = [ imports = [
grocy-scanner.nixosModule grocy-scanner.nixosModule

View file

@ -32,7 +32,7 @@
publicKey = lib.fileContents ../../../assets/tinc/mobi_host_file; publicKey = lib.fileContents ../../../assets/tinc/mobi_host_file;
}; };
bobi = { bobi = {
tincIp = "10.23.42.23"; tincIp = "10.23.42.25";
publicKey = lib.fileContents ../../../assets/tinc/bobi_host_file; publicKey = lib.fileContents ../../../assets/tinc/bobi_host_file;
}; };
robi = { robi = {