diff options
author | jeschli <jeschli@gmail.com> | 2018-01-10 15:07:04 +0100 |
---|---|---|
committer | jeschli <jeschli@gmail.com> | 2018-01-10 15:07:04 +0100 |
commit | e5efb2b0ae0c7dbd36c68d0b340826ef5816d927 (patch) | |
tree | d31d64c39feec31305bfcbe57cec6e1d1370f0af /jeschli | |
parent | 0147d7faa10613341ea28065725a2ce435685396 (diff) |
jeschli: set default hostname
Diffstat (limited to 'jeschli')
-rw-r--r-- | jeschli/1systems/bln/config.nix | 2 | ||||
-rw-r--r-- | jeschli/1systems/reagenzglas/config.nix | 1 | ||||
-rw-r--r-- | jeschli/2configs/default.nix | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/jeschli/1systems/bln/config.nix b/jeschli/1systems/bln/config.nix index 873c0fa..9e5f8c5 100644 --- a/jeschli/1systems/bln/config.nix +++ b/jeschli/1systems/bln/config.nix @@ -36,7 +36,7 @@ } ]; - networking.hostName = "BLN02NB0154"; # Define your hostname. + networking.hostName = lib.mkForce "BLN02NB0154"; # Define your hostname. networking.networkmanager.enable = true; # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. diff --git a/jeschli/1systems/reagenzglas/config.nix b/jeschli/1systems/reagenzglas/config.nix index d65e897..eb2ba17 100644 --- a/jeschli/1systems/reagenzglas/config.nix +++ b/jeschli/1systems/reagenzglas/config.nix @@ -29,7 +29,6 @@ allowDiscards = true; } ]; - networking.hostName = "reaganzglas"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. networking.networkmanager.enable = true; # Select internationalisation properties. diff --git a/jeschli/2configs/default.nix b/jeschli/2configs/default.nix index 77281b3..6d788d2 100644 --- a/jeschli/2configs/default.nix +++ b/jeschli/2configs/default.nix @@ -64,4 +64,5 @@ with import <stockholm/lib>; ]; krebs.enable = true; + networking.hostName = config.krebs.build.host.name; } |