summaryrefslogtreecommitdiff
path: root/modules/sys/core/networking.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2025-12-20 03:14:45 +0100
committeradikro <adikro@disroot.org>2025-12-20 03:14:45 +0100
commit791bc419b6dac7c70951981ef6b34cdf85828470 (patch)
tree56d0962fdf829ae942feb1344763e54dbc3c89a3 /modules/sys/core/networking.nix
parente60410393cea222b16743a1a87f29c06b9b3543b (diff)
absolutely massive rewrite, made (almost) everything modular with changes to come
Diffstat (limited to 'modules/sys/core/networking.nix')
-rw-r--r--modules/sys/core/networking.nix29
1 files changed, 0 insertions, 29 deletions
diff --git a/modules/sys/core/networking.nix b/modules/sys/core/networking.nix
deleted file mode 100644
index 7964e8b..0000000
--- a/modules/sys/core/networking.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{ config, lib, ... }:
-{
- options.szpont.network = {
- enable = lib.mkEnableOption "system-wide networking setup";
-
- hostName = lib.mkOption {
- type = lib.types.str;
- default = "nixos";
- description = "The hostname for this specific machine.";
- };
- };
-
- config = lib.mkIf config.szpont.network.enable {
- networking = {
- hostName = config.szpont.network.hostName;
-
- networkmanager = {
- enable = true;
- wifi.macAddress = "stable-ssid";
- ethernet.macAddress = "stable-ssid";
- };
-
- firewall = {
- enable = true;
- };
- };
- systemd.services."NetworkManager-wait-online".enable = false;
- };
-}