summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2024-02-04 16:38:52 -0500
committerseth <[email protected]>2024-02-04 16:38:52 -0500
commit371235663a4e8d783dfc4294bb0b10cd3206c9c6 (patch)
treeb401174901aedf9b7480bbece33942d8581bce34
parent80321e46cbd2e436aa4b1c0edfcd5de2c71abcd0 (diff)
systems: don't set hostName manually
-rw-r--r--systems/atlas/default.nix1
-rw-r--r--systems/caroline/default.nix7
-rw-r--r--systems/glados-wsl/default.nix8
-rw-r--r--systems/glados/default.nix2
4 files changed, 4 insertions, 14 deletions
diff --git a/systems/atlas/default.nix b/systems/atlas/default.nix
index 5b27856..5fd346b 100644
--- a/systems/atlas/default.nix
+++ b/systems/atlas/default.nix
@@ -19,7 +19,6 @@
networking = {
domain = "mydadleft.me";
- hostName = "atlas";
networkmanager.enable = false;
};
diff --git a/systems/caroline/default.nix b/systems/caroline/default.nix
index 8e14515..dc9bdc8 100644
--- a/systems/caroline/default.nix
+++ b/systems/caroline/default.nix
@@ -1,4 +1,4 @@
-{
+{config, ...}: {
suites.personal.enable = true;
homebrew.casks = [
@@ -8,10 +8,7 @@
"prismlauncher"
];
- networking = rec {
- computerName = "caroline";
- hostName = computerName;
- };
+ networking.computerName = config.networking.hostName;
nix.settings.trusted-users = ["seth"];
diff --git a/systems/glados-wsl/default.nix b/systems/glados-wsl/default.nix
index d42e69f..7014938 100644
--- a/systems/glados-wsl/default.nix
+++ b/systems/glados-wsl/default.nix
@@ -41,12 +41,8 @@
# doesn't work on wsl
services.dbus.apparmor = "disabled";
-
- networking = {
- hostName = "glados-wsl";
- # ditto
- networkmanager.enable = false;
- };
+ # ditto
+ networking.networkmanager.enable = false;
# ditto
security = {
diff --git a/systems/glados/default.nix b/systems/glados/default.nix
index c516b07..a887de0 100644
--- a/systems/glados/default.nix
+++ b/systems/glados/default.nix
@@ -27,8 +27,6 @@
seth.desktop.enable = true;
};
- networking.hostName = "glados";
-
security.tpm2 = {
enable = true;
abrmd.enable = true;