update plancha server configuration
This commit is contained in:
parent
cb6bfc5702
commit
f8e8df1085
3 changed files with 29 additions and 10 deletions
|
@ -14,8 +14,27 @@
|
|||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
||||
fsType = "ext4";
|
||||
{ device = "/dev/disk/by-uuid/b4deb5e5-6488-41ca-9718-08be27d0bfd4";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=root" ];
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = "/dev/disk/by-uuid/b4deb5e5-6488-41ca-9718-08be27d0bfd4";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=home" ];
|
||||
};
|
||||
|
||||
fileSystems."/nix" =
|
||||
{ device = "/dev/disk/by-uuid/b4deb5e5-6488-41ca-9718-08be27d0bfd4";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=nix" ];
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/7864-394A";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
|
||||
networking = {
|
||||
hostName = "plancha";
|
||||
useDHCP = false;
|
||||
defaultGateway = "192.168.36.1";
|
||||
# useDHCP = false;
|
||||
# defaultGateway = "192.168.36.1";
|
||||
|
||||
nat = {
|
||||
enable = true;
|
||||
|
@ -32,11 +32,11 @@
|
|||
interfaces = {
|
||||
# primary network interface, connected to WAN through a router
|
||||
end0 = {
|
||||
useDHCP = false;
|
||||
ipv4.addresses = [ {
|
||||
address = "192.168.36.16";
|
||||
prefixLength = 24;
|
||||
} ];
|
||||
useDHCP = true;
|
||||
# ipv4.addresses = [ {
|
||||
# address = "192.168.36.16";
|
||||
# prefixLength = 24;
|
||||
# } ];
|
||||
};
|
||||
# interface for containers virtual network
|
||||
br0 = {
|
||||
|
|
|
@ -83,7 +83,7 @@ let
|
|||
|
||||
plancha = pkgs.krops.writeDeploy "deploy-server-plancha" {
|
||||
source = source "plancha";
|
||||
target = lib.mkTarget "operator@192.168.36.16" // {
|
||||
target = lib.mkTarget "operator@192.168.12.12" // {
|
||||
port = "144";
|
||||
sudo = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue