9d4db1eae4
nixos/programs/gnome-session: recommend reverse DNS-like naming scheme as DE identifier
2024-01-26 18:02:03 +08:00
b45f061db7
nixos/programs/gnome-session: update comments
2024-01-24 10:41:06 +08:00
d1dc2953c7
nixos/programs/gnome-session: properly modularize and refactor
2024-01-23 11:31:20 +08:00
1915a106c9
chore: update comments
2024-01-20 17:22:49 +08:00
929d3968ad
programs/gnome-session: set session systemd user units as part of NixOS
...
While it is nice to have it as part of the desktop session package,
we're missing features which requires reimplementing parts of the
systemd-lib anyways. We can always have this later once this is
upstreamed into nixpkgs where one could modify systemd-lib to split
the unit generation step. Right now, not willing to do that.
2024-01-09 10:45:43 +08:00
72ba0b9028
programs/gnome-session: modularize submodules
2024-01-07 17:31:34 +08:00
d756ca2796
programs/gnome-session: update session desktop file
...
For now, the desktop name is hardcoded but we'll figure out a way to configure
that nicely.
2024-01-07 10:21:47 +08:00
1957df91ea
chore: reformat codebase
2024-01-06 19:10:54 +08:00
8b8f570906
programs/gnome-session: update module descriptions
2024-01-06 18:56:07 +08:00
da5a938a8a
programs/gnome-session: add requiredComponents
for session
...
This is to make requiring desktop components from other packages easier.
2024-01-06 18:50:03 +08:00
0db8bd090b
programs/gnome-session: support multiple display protocols
...
Not every setup exclusively support either Wayland or X11. This should also
make customized GNOME sessions (like a minimal version of GNOME) easier.
2024-01-06 12:40:17 +08:00
74295899be
programs/gnome-session: update module descriptions and comments
2024-01-04 17:34:46 +08:00
8169228b0e
programs/gnome-session: set more default values for desktop service unit config
2024-01-04 17:34:19 +08:00
645edd1428
programs/gnome-session: add display session option
...
Although gnome-session is on its way to fully drop X11 support, we'll have
that option for now at least until the next NixOS release.
2024-01-04 17:33:31 +08:00
51d123f667
programs/gnome-session: fix and refactor executable location for built-in managed sessions
2024-01-04 17:31:40 +08:00
1299b8156a
programs/gnome-session: add optional timer, socket, and path systemd unit option for desktop components
2024-01-04 17:30:35 +08:00
f7dd146de2
programs/gnome-session: set various options as nonEmptyStr
type
2024-01-04 16:58:49 +08:00
b30691629b
programs/gnome-session: add package to system environment
2024-01-03 15:40:02 +08:00
3aef91614b
programs/gnome-session: rename systemd unit options
2024-01-03 15:26:23 +08:00
67b3c96869
programs/gnome-session: update comments
2024-01-03 11:53:14 +08:00
f592c5b8ef
programs/gnome-session: remove session prefix option
...
Pretty useless and will make for a confusing step in the future. We can
just make use of the attribute name already which we could nudge the
user with some recommended practice or something.
2024-01-02 20:26:36 +08:00
6cd1d0baa1
programs/gnome-session: generate systemd units in desktop session package
...
Didn't know it was possible to simply have it generated which is a nicer
solution.
2024-01-02 16:23:12 +08:00
922680d131
programs/gnome-session: simplify session
specialArgs
...
Make it non-problematic for the future.
2024-01-02 16:21:47 +08:00
0b46826cb3
programs/gnome-session: change componentsType.desktopConfig
type to composite type
...
`lib.types.attrs` does not have good merging step for priority values
so we changed it to `attrsOf anything`.
2024-01-02 16:20:29 +08:00
72449a9322
programs/gnome-session: improve desktop session build step
2024-01-02 16:17:16 +08:00
3331c03a08
programs/gnome-session: init
2024-01-03 23:30:55 +08:00