From 91ab1ad7715f89a8fa0be20753e8102c0c08f4e9 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sun, 20 Oct 2024 19:44:24 +0200 Subject: [PATCH] module.nix: move greg user under sway condition --- module.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/module.nix b/module.nix index 61d3542..50b7bc9 100644 --- a/module.nix +++ b/module.nix @@ -83,16 +83,6 @@ in config = lib.mkMerge [ (lib.mkIf cfg.enable { - users = { - users.greg = { - isNormalUser = true; - group = "greg"; - uid = 2000; - description = "loud gym bro"; - }; - groups.greg.gid = 2000; - }; - systemd.user.services.greg-ng = { description = "greg-ng, an mpv based media player"; wantedBy = [ "graphical-session.target" ]; @@ -162,6 +152,16 @@ in extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; }; + users = { + users.greg = { + isNormalUser = true; + group = "greg"; + uid = 2000; + description = "loud gym bro"; + }; + groups.greg.gid = 2000; + }; + services.greetd = { enable = true; settings = rec {