chore: set hostname by var, remove trash, add missing ssh files
This commit is contained in:
@ -106,6 +106,9 @@
|
||||
allowedUDPPorts = [ ];
|
||||
};
|
||||
|
||||
# Set hostname to DOTF_HOSTNAME if defined, otherwise use the hostname of the system.
|
||||
networking.hostName = builtins.getEnv "DOTF_HOSTNAME";
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
|
@ -14,7 +14,6 @@
|
||||
modules = [
|
||||
./hardware/mennos-laptop.nix
|
||||
./configuration.nix
|
||||
{ networking.hostName = "mennos-laptop"; }
|
||||
];
|
||||
};
|
||||
"mennos-gamingpc" = nixpkgs.lib.nixosSystem {
|
||||
@ -22,7 +21,6 @@
|
||||
modules = [
|
||||
./hardware/mennos-gamingpc.nix
|
||||
./configuration.nix
|
||||
{ networking.hostName = "mennos-desktop"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user