gnome extensions multi-user

This commit is contained in:
Danilo Reyes
2026-01-18 17:20:00 -06:00
parent 72d97655af
commit 1f173fa3c9

View File

@@ -1,38 +1,60 @@
{ {
config,
inputs,
lib,
pkgs, pkgs,
... ...
}: }:
let
cfg = config.my.environments.gnome;
in
{ {
qt.enable = true; options.my.environments.gnome = {
services = { enable = lib.mkOption {
gvfs.enable = true; type = lib.types.bool;
displayManager.gdm.enable = true; default = true;
desktopManager.gnome.enable = true; description = "Enable GNOME desktop environment";
};
users = lib.mkOption {
type = inputs.self.lib.usersOptionType lib;
default = "jawz";
description = "Users to install GNOME extensions for";
};
}; };
environment.gnome.excludePackages = builtins.attrValues { config = lib.mkIf cfg.enable {
inherit (pkgs) qt.enable = true;
baobab services = {
cheese gvfs.enable = true;
epiphany displayManager.gdm.enable = true;
gnome-characters desktopManager.gnome.enable = true;
gnome-connections };
gnome-font-viewer environment.gnome.excludePackages = builtins.attrValues {
gnome-photos inherit (pkgs)
# gnome-text-editor baobab
gnome-tour cheese
yelp epiphany
gnome-music gnome-characters
totem gnome-connections
; gnome-font-viewer
}; gnome-photos
users.users.jawz.packages = builtins.attrValues { # gnome-text-editor
inherit (pkgs.gnomeExtensions) gnome-tour
tactile # window manager yelp
freon # hardware temperature monitor gnome-music
gamemode-shell-extension # I guess I'm a gamer now? totem
burn-my-windows # special effects for when closing windows ;
pano # clipboard manager };
pop-shell users.users = inputs.self.lib.mkUserPackages lib cfg.users (
; builtins.attrValues {
inherit (pkgs.gnomeExtensions)
tactile # window manager
freon # hardware temperature monitor
gamemode-shell-extension # I guess I'm a gamer now?
burn-my-windows # special effects for when closing windows
pano # clipboard manager
pop-shell
;
}
);
}; };
} }