From d842372486c71a9ad093b94001813ca78719b1d5 Mon Sep 17 00:00:00 2001 From: caem Date: Wed, 28 Aug 2024 23:57:27 +0200 Subject: [PATCH] kde: Add NetworkManager --- hosts/workstation/persist.nix | 1 + modules/desktop/environments/kde.nix | 3 +++ 2 files changed, 4 insertions(+) diff --git a/hosts/workstation/persist.nix b/hosts/workstation/persist.nix index f041b97..5af2054 100644 --- a/hosts/workstation/persist.nix +++ b/hosts/workstation/persist.nix @@ -13,6 +13,7 @@ group = "colord"; mode = "u=rwx,g=rx,o="; } + "/etc/NetworkManager/system-connections" ]; files = [ "/etc/machine-id" diff --git a/modules/desktop/environments/kde.nix b/modules/desktop/environments/kde.nix index b5670f3..4add13d 100644 --- a/modules/desktop/environments/kde.nix +++ b/modules/desktop/environments/kde.nix @@ -32,6 +32,9 @@ in { ".local/state/konsolestaterc" ]; + networking.networkmanager.enable = true; + users.users.hu.extraGroups = [ "networkmanager" ]; + environment.sessionVariables = { LIBVA_DRIVER_NAME = "nvidia"; XDG_SESSION_TYPE = "wayland";