fix mobi and bobi
This commit is contained in:
parent
1c3cacdd07
commit
4add12c084
2 changed files with 6 additions and 6 deletions
10
flake.nix
10
flake.nix
|
@ -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
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue