From 015da00d7d92773a748a219b757904e00af33bd4 Mon Sep 17 00:00:00 2001 From: Christian Ott Date: Sun, 23 Jun 2024 10:23:49 +0200 Subject: [PATCH] add network manager applet --- configuration.nix | 2 +- hyperland/default.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 763a95b..2117886 100644 --- a/configuration.nix +++ b/configuration.nix @@ -106,7 +106,7 @@ # Define a user account. Don't forget to set a password with ‘passwd’. users.users.chrigi = { isNormalUser = true; - extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. + extraGroups = [ "wheel" "networkmanager"]; initialPassword = "password"; packages = with pkgs; [ firefox diff --git a/hyperland/default.nix b/hyperland/default.nix index 446f393..5852b92 100644 --- a/hyperland/default.nix +++ b/hyperland/default.nix @@ -29,6 +29,7 @@ in swww rofi-wayland brightnessctl + networkmanagerapplet # (pkgs.waybar.overrideAttrs (oldAttrs: { # mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ]; # })) @@ -121,6 +122,7 @@ in exec-once = [ "dunst" "waybar" + "${pkgs.networkmanagerapplet}/bin/nm-applet --sm-disable --indicator" ]; bind =