summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/cez/configuration.nix18
-rw-r--r--hosts/cez/modules/network.nix17
2 files changed, 20 insertions, 15 deletions
diff --git a/hosts/cez/configuration.nix b/hosts/cez/configuration.nix
index 6e5d955..c76550e 100644
--- a/hosts/cez/configuration.nix
+++ b/hosts/cez/configuration.nix
@@ -9,6 +9,7 @@ in
./modules/wayland.nix
./modules/sshfs.nix
./modules/wireguard.nix
+ ./modules/network.nix
../../common.nix
];
@@ -17,6 +18,7 @@ in
consoleLogLevel = 3;
kernelPackages = pkgs.linuxPackages_latest;
};
+
sound = {
enable = true;
extraConfig = ''
@@ -25,22 +27,7 @@ in
'';
};
- networking = {
- hostName = "cez";
- useDHCP = false;
- firewall.enable = false;
-
- wireless.iwd = {
- enable = true;
- settings = {
- General.EnableNetworkConfiguration = true;
- Network.NameResolvingService = "resolvconf";
- };
- };
- };
-
services = {
- getty.autologinUser = user;
pipewire = {
enable = true;
pulse.enable = true;
@@ -49,5 +36,6 @@ in
enable = true;
settings.PasswordAuthentication = false;
};
+ getty.autologinUser = user;
};
}
diff --git a/hosts/cez/modules/network.nix b/hosts/cez/modules/network.nix
new file mode 100644
index 0000000..3321e98
--- /dev/null
+++ b/hosts/cez/modules/network.nix
@@ -0,0 +1,17 @@
+{ ... }:
+
+{
+ networking = {
+ hostName = "cez";
+ useDHCP = false;
+ firewall.enable = false;
+
+ wireless.iwd = {
+ enable = true;
+ settings = {
+ General.EnableNetworkConfiguration = true;
+ Network.NameResolvingService = "resolvconf";
+ };
+ };
+ };
+}