From e93fbea1e6174c25667913b2855bb747ea8db9d5 Mon Sep 17 00:00:00 2001 From: colin Date: Sat, 7 Jan 2023 08:08:49 +0000 Subject: [PATCH] phosh: reorder the users defs --- modules/gui/phosh.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/modules/gui/phosh.nix b/modules/gui/phosh.nix index 37d07a95f..590a003f0 100644 --- a/modules/gui/phosh.nix +++ b/modules/gui/phosh.nix @@ -24,15 +24,20 @@ in { sane.gui.enable = true; + # gnome core-os-services + users.users.rtkit.uid = config.sane.allocations.rtkit-uid; + users.groups.rtkit.gid = config.sane.allocations.rtkit-gid; + + # gnome core-shell users.users.avahi.uid = config.sane.allocations.avahi-uid; users.users.colord.uid = config.sane.allocations.colord-uid; users.users.geoclue.uid = config.sane.allocations.geoclue-uid; - users.users.rtkit.uid = config.sane.allocations.rtkit-uid; users.groups.avahi.gid = config.sane.allocations.avahi-gid; users.groups.colord.gid = config.sane.allocations.colord-gid; - users.groups.feedbackd.gid = config.sane.allocations.feedbackd-gid; users.groups.geoclue.gid = config.sane.allocations.geoclue-gid; - users.groups.rtkit.gid = config.sane.allocations.rtkit-gid; + + # phosh + users.groups.feedbackd.gid = config.sane.allocations.feedbackd-gid; # docs: https://github.com/NixOS/nixpkgs/blob/nixos-22.05/nixos/modules/services/x11/desktop-managers/phosh.nix services.xserver.desktopManager.phosh = {