module.nix: move greg user under sway condition

This commit is contained in:
Oystein Kristoffer Tveit 2024-10-20 19:44:24 +02:00
parent a476f877d2
commit 91ab1ad771
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 10 additions and 10 deletions

View File

@ -83,16 +83,6 @@ in
config = lib.mkMerge [ config = lib.mkMerge [
(lib.mkIf cfg.enable { (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 = { systemd.user.services.greg-ng = {
description = "greg-ng, an mpv based media player"; description = "greg-ng, an mpv based media player";
wantedBy = [ "graphical-session.target" ]; wantedBy = [ "graphical-session.target" ];
@ -162,6 +152,16 @@ in
extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; 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 = { services.greetd = {
enable = true; enable = true;
settings = rec { settings = rec {