summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-07-25 01:38:26 +0200
committertv <tv@krebsco.de>2015-07-25 01:38:26 +0200
commitdd23ad961ecbaff5ac51bfde6a5bcd374edee26b (patch)
tree39e72f7b583a766109ad09f58f8d2e2dd0e7202e
parent3921175424b6a842cdf2235324e1ed76b978ed23 (diff)
{1 tv * -> 2 tv base} networking.hostName
-rw-r--r--1systems/tv/cd.nix1
-rw-r--r--1systems/tv/mkdir.nix1
-rw-r--r--1systems/tv/nomic.nix2
-rw-r--r--1systems/tv/rmdir.nix1
-rw-r--r--1systems/tv/wu.nix2
-rw-r--r--2configs/tv/base.nix2
6 files changed, 2 insertions, 7 deletions
diff --git a/1systems/tv/cd.nix b/1systems/tv/cd.nix
index fcaf19c..6913508 100644
--- a/1systems/tv/cd.nix
+++ b/1systems/tv/cd.nix
@@ -84,7 +84,6 @@ in
}
];
- networking.hostName = "cd";
networking.interfaces.enp2s1.ip4 = [
{
address = "162.219.7.216";
diff --git a/1systems/tv/mkdir.nix b/1systems/tv/mkdir.nix
index 938f501..7542ad0 100644
--- a/1systems/tv/mkdir.nix
+++ b/1systems/tv/mkdir.nix
@@ -38,7 +38,6 @@ with lib;
}
];
- networking.hostName = "mkdir";
networking.interfaces.enp2s1.ip4 = [
{
address = "162.248.167.241"; # TODO
diff --git a/1systems/tv/nomic.nix b/1systems/tv/nomic.nix
index 1f7f6b1..cd6e025 100644
--- a/1systems/tv/nomic.nix
+++ b/1systems/tv/nomic.nix
@@ -97,6 +97,4 @@ with lib;
rxvt_unicode.terminfo
tmux
];
-
- networking.hostName = "nomic";
}
diff --git a/1systems/tv/rmdir.nix b/1systems/tv/rmdir.nix
index 45e9997..9233014 100644
--- a/1systems/tv/rmdir.nix
+++ b/1systems/tv/rmdir.nix
@@ -39,7 +39,6 @@ with lib;
}
];
- networking.hostName = "rmdir";
networking.interfaces.enp2s1.ip4 = [
{
address = "167.88.44.94";
diff --git a/1systems/tv/wu.nix b/1systems/tv/wu.nix
index ccb2dd1..809f43c 100644
--- a/1systems/tv/wu.nix
+++ b/1systems/tv/wu.nix
@@ -422,8 +422,6 @@ in
hardware.opengl.driSupport32Bit = true;
hardware.pulseaudio.enable = true;
- networking.hostName = "wu";
-
environment.systemPackages = with pkgs; [
xlibs.fontschumachermisc
slock
diff --git a/2configs/tv/base.nix b/2configs/tv/base.nix
index 40fe9ee..06f83ea 100644
--- a/2configs/tv/base.nix
+++ b/2configs/tv/base.nix
@@ -12,6 +12,8 @@ in
krebs.enable = true;
krebs.search-domain = "retiolum";
+ networking.hostName = config.krebs.build.host.name;
+
imports = [
{
users.extraUsers =