9ef3e308f9
nixos/programs/gnome-session: update documentation and option visibility
2024-07-30 18:28:37 +08:00
b33f9cf963
nixos/programs/gnome-session: update submodule option args
2024-07-09 23:19:09 +08:00
e3350bd17d
nixos/programs/gnome-session: fix session settings format and submodule module argument passing
2024-06-25 22:41:17 +08:00
90476b0774
nixos/programs/gnome-session: add sessions.<name>.settings
...
This will allow for some flexibility for REALLY OBSCURE custom desktop
sessions but we'll still keep the `requiredComponents` option since it
is so common and most likely what the user will modify anyways.
2024-06-22 22:30:48 +08:00
a808b01f42
nixos/programs/gnome-session: remove sessions.<name>.display
...
I don't want to deal with opening up migration options for something
that will be surely culled in the future so we'll go Wayland-exclusive
for this.
2024-06-22 22:29:19 +08:00
0c69a64ff8
nixos/programs/gnome-session: refactor and update module
2024-06-05 16:28:46 +08:00
ce9506a2bc
nixos/programs/gnome-session: add name option for session and components
...
Also updated the usage for `xToUnit` function from systemd-lib NixOS
library.
2024-05-18 16:41:22 +08:00
42c70349a9
nixos/programs/gnome-session: refactor and update comments
2024-05-18 16:41:19 +08:00
b812da0e4e
nixos/programs/{gnome-session,sessiond}: correct the attribute for session packages
2024-05-18 16:41:19 +08:00
3bf53acb58
nixos/programs/{sessiond,gnome-session}: update desktop session attribute
2024-05-18 16:41:18 +08:00
1e909ff150
nixos/programs/gnome-session: remove enable
...
This reverts commit e83f6d5c96a7082232eb55e72a9b8d082f73a3ae.
2024-03-07 15:54:27 +08:00
485ac7a4c4
nixos/programs/{gnome-session,sessiond}: improve code
2024-03-07 15:54:04 +08:00
f3462beed8
nixos/programs/gnome-session: make it explicitly enabled
2024-03-06 16:30:30 +08:00
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