Commit Graph

546 Commits

Author SHA1 Message Date
d24209cdcb
modules: update comments 2024-07-09 23:20:29 +08:00
b33f9cf963
nixos/programs/gnome-session: update submodule option args 2024-07-09 23:19:09 +08:00
6666d55073
nixos/suites/i18n: update to be null by default
i18n setups in NixOS is a bit painful since it effectively allows only
for one input method engine at a time.
2024-06-26 12:31:33 +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
20c0549706
modules: update shared Nix config profile 2024-06-13 13:45:32 +08:00
3907d83781
treewide: update comments and module descriptions 2024-06-10 13:26:14 +08:00
e3d03a206d
nixos/workflows/a-happy-gnome: add options for disabling specific settings
Also refactored some things yey.

Also made the entire module not so internal anymore, another yey.
2024-06-08 17:56:43 +08:00
0c69a64ff8
nixos/programs/gnome-session: refactor and update module 2024-06-05 16:28:46 +08:00
03552df4e3
lib: move env-specific subsets into their own directory 2024-05-27 15:21:48 +08:00
cd30aba3e1
config: update comments 2024-05-26 16:38:22 +08:00
93de33e028
nixos/programs/sessiond: add name option for session and components
Also similar change to the gnome-session one, blah blah blah...
2024-05-18 16:41:22 +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
580e0ebe93
nixos/workflows: restructure enable option
The type is probably not apprioriate since I want to be able to install
multiple of them at a given time but we'll see.
2024-05-18 16:41:21 +08:00
9cef07f1a5
nixos/state: init module 2024-05-18 16:41:20 +08:00
b32bf6d6ab
nixos/programs/{sessiond,gnome-session}: fix OOMScoreAdjust= default value
You have to be careful with negative numbers, apparently.
2024-05-18 16:41:19 +08:00
42c70349a9
nixos/programs/gnome-session: refactor and update comments 2024-05-18 16:41:19 +08:00
94bb5116f4
nixos/programs/sessiond: 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
fadfea8215
modules: disable flake registry in Nix settings
Now we'll see what flakes are doing it properly.
2024-05-18 16:41:18 +08:00
12dfa258a0
nixos/programs/cardboard-wm: remove
It has a nixpkgs module now so it's fine to remove this.
2024-05-18 16:41:17 +08:00
173919dcf0
nixos/workflows: use private library
It's a private module now so it's fine.
2024-05-18 16:41:17 +08:00
7bcbd912ca
nixos/profiles/installer: include disko 2024-03-15 11:49:30 +08:00
4877a6074e
nixos/profiles/overlays: init 2024-03-12 10:46:24 +08:00
1e909ff150
nixos/programs/gnome-session: remove enable
This reverts commit e83f6d5c96a7082232eb55e72a9b8d082f73a3ae.
2024-03-07 15:54:27 +08:00
a4c4636081
nixos/programs/sessiond: remove enabled
This reverts commit bea2df0a0949db8357322b49e6a8d59dd3aee93d.
2024-03-07 15:54:22 +08:00
485ac7a4c4
nixos/programs/{gnome-session,sessiond}: improve code 2024-03-07 15:54:04 +08:00
b8616bd7b2
nixos/programs/sessiond: force disabling of default sessiond session
This will completely break if set otherwise so we'll have to force it.
2024-03-06 17:02:08 +08:00
f3462beed8
nixos/programs/gnome-session: make it explicitly enabled 2024-03-06 16:30:30 +08:00
01fd15fc8a
nixos/programs/sessiond: make it explicitly enabled 2024-03-06 16:30:06 +08:00
44b0ba9a61
nixos/suites/filesystem: update device names 2024-03-04 07:42:25 +08:00
ba6b30ca95
lib: standardize arguments (again)
We'll just copy what we did with Bahaghari project.
2024-03-03 16:39:32 +08:00
4a19b2004e
nixos/profiles/installer: update 2024-03-03 10:26:19 +08:00
949f42b683
nixos/profiles/desktop: remove improper cloning config
This causes a bug to be recursively import nixpkgs and taking over space.
2024-03-03 10:25:26 +08:00
40352d6a74
lib: standardize the required arguments
Just to make it consistent.
2024-03-01 18:09:47 +08:00
843310e8b8
nixos/profiles/desktop: make the configuration easily retrievable 2024-02-28 18:49:11 +08:00
c08289419c
lib/nixos: update to include config 2024-02-28 18:44:27 +08:00
098df7d058
nixos/profiles/installer: init
Not perfect but we'll add more niceties later.
2024-02-27 21:16:53 +08:00
ac036d10a9
modules: fix custom library 2024-02-25 22:27:05 +08:00
5af7ac1c3d
modules: add extra arguments private module
Even easier way to set things up now.
2024-02-25 20:04:29 +08:00
8377dba214
nixos/tinted-theming: remove
Entirely replaced with Bahaghari subproject now.
2024-02-25 20:00:54 +08:00
15a43cd1e5
chore: reformat codebase 2024-02-25 18:20:13 +08:00
c65674c742
docs: update workflows README 2024-02-25 17:44:40 +08:00
db2da4d7d2
nixos/workflows: reclassify as private modules
It doesn't fit with the public module requirement of no reliance of
third-party modules anymore as we'll be using Bahaghari at the near future.
2024-02-23 20:56:32 +08:00
03590ad834
nixos/workflows: disable display manager services
This is now on the individual configurations to enable them since most
workflows are expected to be quite similar to desktop environments like from
default NixOS modules.
2024-02-15 23:14:33 +08:00
a4177f9382
flake-parts/setups: set separate namespace for custom library
This at least allows us to make custom environment-specific library sets.
2024-02-11 15:16:25 +08:00
95b3e7bc2e
nixos/tinted-theming: add templates attribute 2024-02-10 20:05:39 +08:00
79e118e609
{nixos,home-manager,nixvim}/tinted-theming: init 2024-02-10 10:34:03 +08:00
ec881d46a3
nixos/workflows/a-happy-gnome: remove resolved service
IDK why it's there but ehh...
2024-02-06 20:18:48 +08:00
ccfd409912
nixos/workflows/a-happy-gnome: disable Desktop Cube GNOME extension 2024-02-02 17:29:55 +08:00
46d7cf94e0
nixos/workflows/a-happy-gnome: add scratch window bindings for PaperWM 2024-02-02 17:29:30 +08:00
44090d6257
chore: reformat codebase 2024-02-02 12:40:16 +08:00
1b4d91c67b
modules: create dedicated default Nix config profile 2024-01-27 16:51:10 +08:00
9d4db1eae4
nixos/programs/gnome-session: recommend reverse DNS-like naming scheme as DE identifier 2024-01-26 18:02:03 +08:00
c2513f94ea
nixos/profiles/desktop: make Pipewire the preferred audio setup
We can still modularize those imports even if we have problems with it.
2024-01-26 16:49:44 +08:00
677b57cad7
nixos/profiles/desktop: make Nix more of a background process 2024-01-26 16:49:02 +08:00
e5d0f3279b
nixos/programs/gnome-session: refactor and update comments 2024-01-25 18:59:19 +08:00
07510b2257
nixos/programs/sessiond: refactor and update comments 2024-01-25 18:55:57 +08:00
3cafa9f613
nixos/suites/desktop: modularize submodules into dedicated profiles
It's practically enabled every time so why not set them as profiles instead.
The structure should be enough for some control over what is enabled.
2024-01-25 18:52:07 +08:00
6737cd1d16
nixos/suites/gaming: fix erroneous attribute 2024-01-25 12:18:46 +08:00
7de6c0b422
nixos/programs/sessiond: update session service config 2024-01-25 12:18:02 +08:00
952fde19cf
nixos/programs/sessiond: add session example 2024-01-25 12:17:47 +08:00
b45f061db7
nixos/programs/gnome-session: update comments 2024-01-24 10:41:06 +08:00
1d3bc3c013
nixos/programs/sessiond: init 2024-01-24 10:40:22 +08:00
d1dc2953c7
nixos/programs/gnome-session: properly modularize and refactor 2024-01-23 11:31:20 +08:00
58e9380ad2
modules: rename suites private module in the filesystem
To make it less hurting for inspecting commits.
2024-01-22 14:52:00 +08:00
9b7cc8a850
modules: move profiles custom namespace to suites
We now have a "proper" profiles modules ala-nixpkgs so we'll have to move
these to make it less confusing.
2024-01-22 14:48:55 +08:00
d5c5ac2f0c
nixos/profiles/server: remove hardened-config submodule
We're also moving it to a profiles module ala-nixpkgs.
2024-01-22 12:21:37 +08:00
fc3f7eb7c7
nixos/profiles/server: remove headless submodule
Now this is moved as a "proper" profile module ala-nixpkgs. Also because
we can use not only on server systems.
2024-01-22 12:19:36 +08:00
a4402aa04f
nixos/profiles/generic: init
We'll have to move the `profiles` modules into a new namespace. It will
get confusing in the future.
2024-01-22 12:17:48 +08:00
5232684467
chore: update notes for gnome-session 2024-01-21 20:12:51 +08:00
8134ff798f
nixos/programs/gnome-session: remove script wrapper 2024-01-21 20:08:54 +08:00
1915a106c9
chore: update comments 2024-01-20 17:22:49 +08:00
440b9fed2f
nixos/programs/kiwmi: remove
Haven't used it and kiwmi doesn't build and get updated much.
2024-01-20 17:18:11 +08:00
7bb0b0dd1f
modules: restructure private modules directory 2024-01-20 17:16:02 +08:00
4671d1654b
nixos/workflows/a-happy-gnome: add more extensions 2024-01-17 17:58:34 +08:00
d3e0802d38
chore: reformat codebase 2024-01-16 15:19:51 +08:00
7c91a7dcdc
programs/gnome-session: refactor parts of config 2024-01-10 16:27:41 +08:00
e16afaca97
programs/gnome-session: change display choice "xorg" to "x11" 2024-01-10 16:27:18 +08:00
8e09719b5f
profiles/server: update hardened kernel packages to 6.6 2024-01-10 15:40:17 +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
459446ab02
programs/gnome-session: add desktopNames for sessions
This is to make creating customized of already existing sessions (such
as from GNOME) possible.
2024-01-08 12:23:51 +08:00
4f286dbc28
docs: remove relevant sections to custom check variables 2024-01-07 17:34:29 +08:00
72ba0b9028
programs/gnome-session: modularize submodules 2024-01-07 17:31:34 +08:00
c3ffbd9f69
workflows/mosey-branch: remove
It served its purpose as a reference for making a custom gnome-session
session for now.
2024-01-07 17:30:04 +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
0cb9d89b03
workflows/a-happy-gnome: reformat 2024-01-06 19:16:32 +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