From ab8a6f8609623e3a002df0a2b57918893bcdc537 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 7 Dec 2024 23:38:17 +0100 Subject: [PATCH] Allow choosing between NetworkManager and `systemd-networkd` --- lib/modules/programs.nix | 3 +++ lib/modules/software.nix | 1 + 2 files changed, 4 insertions(+) diff --git a/lib/modules/programs.nix b/lib/modules/programs.nix index 34b19b74..cc33329e 100644 --- a/lib/modules/programs.nix +++ b/lib/modules/programs.nix @@ -57,6 +57,7 @@ let [ "logo-ls" "logo-ls" ] [ "lutris" "Lutris" ] [ "minegrub-theme" "Minegrub Theme" ] + [ "networkmanager" "NetworkManager" ] [ "nginx" "nginx" ] [ "nodejs-n" "n" ] [ "nuke-usb" "nuke-usb" ] @@ -64,6 +65,7 @@ let [ "plasma" "Plasma" ] [ "pyenv" "pyenv" ] [ "sddm" "SDDM" ] + [ "systemd-networkd" "systemd-networkd" ] [ "vim" "Vim" ] [ "virt-manager" "Virtual Machine Manager" ] [ "waydroid" "Waydroid" ] @@ -94,6 +96,7 @@ in ./programs/btrfs.nix ./programs/docker.nix ./programs/git.nix + ./programs/systemd-networkd.nix ./programs/nextcloud.nix ./programs/oh-my-posh.nix ./programs/rclone.nix diff --git a/lib/modules/software.nix b/lib/modules/software.nix index e2ab4339..75c19d0f 100644 --- a/lib/modules/software.nix +++ b/lib/modules/software.nix @@ -114,6 +114,7 @@ in { "vim" ])) // (optionalAttrs desktopExperience (mkPrograms [ "icedtea" + "networkmanager" "plasma" "sddm" "waydroid"