From 69d3c287f8695ac91d11951f0c24d13ecf42b35e Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 27 Feb 2023 07:49:45 +0100 Subject: [PATCH] Use nm applet as service There is no reason to start as program being part of i3. Instead a service is easier to handle, e.g. restart. --- home/services.nix | 1 + home/windowManager/i3.nix | 8 -------- systems/hikari/configuration.nix | 1 - 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/home/services.nix b/home/services.nix index d2de690..58654ea 100644 --- a/home/services.nix +++ b/home/services.nix @@ -9,6 +9,7 @@ gpg-agent = import ./services/gpg-agent.nix { }; + network-manager-applet.enable = true; languagetool.enable = true; mailhog.enable = true; diff --git a/home/windowManager/i3.nix b/home/windowManager/i3.nix index 27d34c0..906752a 100644 --- a/home/windowManager/i3.nix +++ b/home/windowManager/i3.nix @@ -182,14 +182,6 @@ in { ]; }; - startup = [ - # Start programs / applets - { - command = "nm-applet"; - notification = false; - } - ]; - keybindings = { # kill focused window "${modifier}+Shift+q" = "kill"; diff --git a/systems/hikari/configuration.nix b/systems/hikari/configuration.nix index 2fb2804..89b394c 100644 --- a/systems/hikari/configuration.nix +++ b/systems/hikari/configuration.nix @@ -65,7 +65,6 @@ programs = { # Enable network manager applet - nm-applet.enable = true; dconf.enable = true; };