From 4645ab356729ba2b4f097558deb60ca529b68015 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Mon, 24 Oct 2022 15:54:44 +0200 Subject: [PATCH] refactor: combine services --- home-manager/i3/default.nix | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/home-manager/i3/default.nix b/home-manager/i3/default.nix index f43d4fc..c973f78 100644 --- a/home-manager/i3/default.nix +++ b/home-manager/i3/default.nix @@ -88,19 +88,21 @@ in }; }; - services.betterlockscreen = { - enable = true; - arguments = [ "--update /home/mandlm/.config/i3/wallpapers/nix-wallpaper-dracula.png" ]; - }; + services = { + betterlockscreen = { + enable = true; + arguments = [ "--update /home/mandlm/.config/i3/wallpapers/nix-wallpaper-dracula.png" ]; + }; - services.flameshot = { - enable = true; - settings = { - General = { - showStartupLaunchMessage = false; + flameshot = { + enable = true; + settings = { + General = { + showStartupLaunchMessage = false; + }; }; }; - }; - services.unclutter.enable = true; + unclutter.enable = true; + }; }