From bb26cbf2645a627bc4dd2bb265a87171604f0c9e Mon Sep 17 00:00:00 2001 From: punkfairie Date: Mon, 6 Jan 2025 18:29:02 -0800 Subject: [PATCH] feat(nixos): Modularize networking --- modules/nixos/base/networking/default.nix | 3 +++ systems/x86_64-linux/nyx/default.nix | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 modules/nixos/base/networking/default.nix diff --git a/modules/nixos/base/networking/default.nix b/modules/nixos/base/networking/default.nix new file mode 100644 index 0000000..0533ec2 --- /dev/null +++ b/modules/nixos/base/networking/default.nix @@ -0,0 +1,3 @@ +_: { + networking.networkmanager.enable = true; +} diff --git a/systems/x86_64-linux/nyx/default.nix b/systems/x86_64-linux/nyx/default.nix index 44962fd..8797edb 100644 --- a/systems/x86_64-linux/nyx/default.nix +++ b/systems/x86_64-linux/nyx/default.nix @@ -12,8 +12,6 @@ in { networking.hostName = "nyx"; - networking.networkmanager.enable = true; - hardware.pulseaudio.enable = false; security.rtkit.enable = true;