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
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
9bb03e86b8
chore: reformat codebase
2024-01-01 13:56:10 +08:00
da2dc887e7
workflows/a-happy-gnome: move to programs.dconf.profiles
setup
...
We can even combine already existing keyfiles with Nix data which is nice.
2023-12-28 16:37:12 +08:00
b3ff513304
workflows/a-happy-gnome: update configuration
2023-12-28 16:31:30 +08:00
3afb2e4d56
workflows: remove conditional config
...
Now this is handled on the host-specific modules.
2023-12-27 09:27:02 +08:00
701a1b609f
profiles/dev: add hardware submodule
2023-12-25 20:05:49 +08:00
39c0bb2d8f
profiles/gaming: update RetroArch package
...
We'll use more cores if necessary.
2023-12-24 18:18:56 +08:00
55b475b6f0
profiles/desktop: update nix-ld libraries list
2023-12-24 18:18:23 +08:00
709bd491c8
profiles/dev: add virt-top
2023-12-23 20:33:23 +08:00
c7c6cc4620
profiles/dev: revert to default package
2023-12-23 20:33:02 +08:00
9e170dd6ec
profiles/gaming: simplify the default setup
2023-12-22 08:57:41 +08:00
0bee8052a9
config: remove fxcast-bridge as part of Firefox addons
...
I don't use it much and it is failing to build so leave it.
2023-12-20 11:25:28 +08:00
a2dfc6f3b9
modules: remove unnecessary function attributes
2023-12-20 10:48:32 +08:00
220f7ad528
profiles/desktop: enable v4l2loopback
2023-12-20 10:44:42 +08:00
35f2d5b9b8
config: add comments
2023-12-18 18:44:27 +08:00
b9294d8f39
profiles/dev: move more stuff to extras submodule
2023-12-18 08:59:25 +08:00
a25603142c
profiles/gaming: remove virtual machines setup
...
It's not needed anymore (also because it changed).
2023-12-20 10:49:05 +08:00
40d286ac3a
profiles/dev: separate containers and virtual machines setup
2023-12-18 00:11:11 +08:00
3d94c89bea
profiles/dev: simplify the configuration
...
Now with host-specific and user-specific modules, we can now start
remove parts of the modules with my configurations on them that are
otherwise intended for the entire cluster.
2023-12-18 00:00:55 +08:00
5c6562fd05
modules: delete tasks module
...
These are now replaced by host-specific modules.
2023-12-15 20:23:18 +08:00
c2a5840cce
tasks/multimedia-archive: migrate as ni's host-specific module
...
It is also used exclusively by that host so pretty much useless
as a shared module.
2023-12-15 20:22:08 +08:00
34047a49b4
tasks/backup-archive: migrate as ni's host-specific module
...
In practice, this is only used by it.
2023-12-15 14:14:15 +08:00
69bdcda87a
workflows: fix project-specific conditional config
2023-12-14 11:51:00 +08:00
3714f843d0
chore: reformat codebase
2023-12-13 11:28:45 +08:00
9dc2df5397
profiles/i18n: refactor module
2023-12-13 11:24:04 +08:00
4138647ea7
profiles/dev: add man-pages-posix
2023-12-05 10:30:33 +08:00
42fced727c
profiles/gaming: add GameMode
2023-12-04 18:05:56 +08:00
abb8d6b7fe
profiles/desktop: add Monaspace font
2023-12-03 15:35:16 +08:00
52566deb5a
workflows/a-happy-gnome: update settings and extension list
2023-11-24 21:50:54 +08:00
c1f7eda12c
programs/distrobox: add description for Distrobox config value
...
This is why the custom manual cannot be built.
2023-11-23 22:14:10 +08:00
b84e38896b
profiles/i18n: reformat code
2023-11-13 19:51:50 +08:00
3c6f443580
services/wezterm-mux-server: add user shell
...
The service is experimental at this point since I use something like
Mosh and Eternal Terminal. Domain multiplexing is pretty nice feature
with Wezterm, though.
2023-11-12 10:52:04 +08:00
214765a7b4
profiles/desktop: add more basic fonts
2023-11-12 10:50:57 +08:00
3f78b8dc2e
profiles/i18n: add basic fonts for more language support out-of-the-box
2023-11-12 10:50:32 +08:00
3673eaa9cb
profiles/dev: remove Mosh program
...
This is best handled on a case-by-case basis. Some hosts are now using
Eternal Terminal and some are using Mosh.
2023-11-12 10:49:10 +08:00
32e1eda149
tasks/multimedia-archive: use updated version of Archivebox Nix module
2023-11-09 11:31:59 +08:00
2be753489e
services/archivebox: escape extraArgs
properly
2023-11-08 21:09:05 +08:00
ad710cdb9d
services/archivebox: harden services
2023-11-07 20:53:45 +08:00
8b812a34c9
services/archivebox: add dedicated service user and group
2023-11-07 20:53:15 +08:00
cee845a94b
services/archivebox: replace withDependencies
option with extraPackages
...
We also added a package option for ArchiveBox alongside it.
2023-11-07 20:51:47 +08:00
edfc8f8cc3
services/archivebox: update module examples and descriptions
2023-11-07 20:50:37 +08:00
aeac081cd2
services/archivebox: update job service name generation
2023-11-07 20:47:22 +08:00
534a300768
services/archivebox: remove archivePath
option
...
It is quite limiting to what workflow it allows. Though, this iteration
now enforces it to be in `/var/lib/archivebox`, setting an arbitrary
option is less desirable.
2023-11-07 20:38:00 +08:00
e9d55ab771
profiles/dev: add ghcr.io in containers registry list
2023-11-07 13:31:37 +08:00
3f291fe665
hosts/ni: modularize networking config
2023-11-06 16:10:42 +08:00
16fa8cb64f
config: replace command-not-found with nix-index
2023-11-04 23:22:54 +08:00
71d3fc6303
modules: update comments
2023-10-29 15:25:18 +08:00
9615a4e578
tasks/multimedia-archive: remove persistent option
2023-10-27 13:25:32 +08:00
9ddddcf1e3
services/yt-dlp: remove persistent option
2023-10-27 13:25:08 +08:00
eab8631e9b
services/gallery-dl: remove persistent option
2023-10-27 13:24:21 +08:00
52871b4fa3
services/archivebox: refactor and remove persistent option
2023-10-27 13:23:37 +08:00
479166c78d
services/vouch-proxy: add wantedBy for systemd service
...
Forgot to add that which is why there's no enabled service.
2023-10-20 15:33:16 +08:00
f789aabd35
programs/distrobox: add extraConfig option
2023-10-18 18:59:46 +08:00
6293a13965
profiles/dev: add sshfs
2023-10-18 09:37:43 +08:00
39ccbe0976
profiles/dev: use Distrobox Nix module
2023-10-18 09:17:33 +08:00
de8beb9780
programs/distrobox: remove settingsFile option
2023-10-18 09:16:25 +08:00
7f06e6a677
programs/distrobox: remove assertion
...
It seems to be more suitable as a program module.
2023-10-18 09:13:42 +08:00
af54c3570a
programs/distrobox: improve quoting for generated settings
2023-10-18 09:13:18 +08:00
5bd11ed430
programs/distrobox: init
2023-10-17 18:52:44 +08:00
8fb9770882
services/vouch-proxy: escape service names for systemd
2023-10-17 18:33:02 +08:00
ec0fe7dec8
services/vouch-proxy: fix permissions for generated secrets
2023-10-14 14:03:40 +08:00
5657a5e023
services/vouch-proxy: use system user for service
...
This enables integration with secrets such as sops-nix instead of the
previous service config of being a dynamic user.
2023-10-14 11:06:23 +08:00
d43708983a
services/wezterm-mux-server: update service hardening options
...
It should be less strict overall with the ProtectHome= settings.
2023-10-14 11:05:46 +08:00
6012556a3d
services/wezterm-mux-server: revert to system user for service
...
I don't know how to completely make it isolated AND working.
2023-10-14 11:05:17 +08:00
7daea6c427
services/vouch-proxy: update service config
2023-10-13 14:24:44 +08:00
3ee04bb812
chore: reformat codebase
2023-10-09 20:48:01 +08:00
7d55e45f70
services/vouch-proxy: add some more hardening options
2023-10-09 20:46:06 +08:00
2dbb3ed68c
services/vouch-proxy: restructure for multiple instances
...
This resolves some cases where the admin does not have all of their
users within the protected domain and some in others.
2023-10-09 20:43:13 +08:00
bd478aebc7
profiles/dev: add Dive for virtualization submodule
2023-10-09 22:32:13 +08:00
5152bae032
services/vouch-proxy: add more systemd directives
2023-10-09 22:31:27 +08:00
b4b64fa50b
services/vouch-proxy: improve conditional settings file option
2023-10-07 20:42:52 +08:00
069723d38a
services/wezterm-mux-server: hardcode user and group
...
With DynamicUser directive, it should be easy to make this usable.
2023-10-06 13:48:12 +08:00
86d8878fab
services/vouch-proxy: init
2023-10-07 20:41:14 +08:00
12bb71be20
services/wezterm-mux-server: improve code
2023-10-05 10:23:09 +08:00
c410ece05a
treewide: remove options
attribute for modules
2023-10-02 14:26:11 +08:00
9654d7f551
programs/blender: reformat and update description
2023-09-25 22:06:51 +08:00
cd3cf148b9
programs/blender: fix Blender system resources directory
...
Also improve the way how Blender resources are joined. It isn't the
most idiomiatic code but we can improve it.
2023-09-25 15:29:56 +08:00
5f73ab74e9
programs/blender: fix erroneous attribute
2023-09-24 19:21:24 +08:00
f1c271cb59
profiles/browsers: update Firefox configuration
2023-09-24 19:20:52 +08:00
a874567898
programs/blender: init NixOS module
2023-09-23 22:29:03 +08:00
5808d7bc6c
profiles/browsers: add "Google Container" add-on
2023-09-23 20:27:17 +08:00
6fc14f8358
workflows/a-happy-gnome: update and refactor module
2023-09-19 13:50:47 +08:00
72272d9d01
tasks/multimedia-archive: enable Archivebox service part
2023-09-19 13:50:30 +08:00
1ceda1c216
tasks/backup-archive: change daily time schedule
2023-09-19 13:01:55 +08:00
c0d1efd1e3
profiles/dev: add hardware utilities
2023-09-18 17:57:18 +08:00
d920a9349f
profiles/browsers: add Chromium browser to system packages
2023-09-18 14:43:02 +08:00
ce0e92906f
profiles/browser: add browser extensions for Firefox native extensions
2023-09-16 16:31:17 +08:00
3cc4998ab7
profiles/browsers: add Bitwarden extension for Firefox
2023-09-16 16:18:25 +08:00
c8dc2b57ce
profiles/dev: replace exa with eza
...
Unmaintained and also in a state of being removed in nixpkgs.
2023-09-15 12:54:49 +08:00
e83cbded5d
profiles/browsers: init system-wide browser profile
2023-09-14 13:25:03 +08:00
8cf08e3f29
profiles/dev: add quilt
2023-09-11 18:19:18 +08:00
19ba7b9a5a
workflows/a-happy-gnome: restructure dconf config folder structure
2023-09-09 08:02:37 +08:00
cc81b17370
workflows/a-happy-gnome: add custom keybinding for recording
2023-09-06 05:46:04 +08:00
263e1f929e
workflows/a-happy-gnome: move profile into dconf package
...
This prevents the need to use an internal attribute so it's all good.
2023-09-06 05:45:04 +08:00
7dacbe6963
chore: reformat codebase
2023-08-31 09:59:56 +08:00
03e1918194
docs: update Mosey Branch project notes
2023-08-22 10:12:48 +08:00
df19265030
workflows/mosey-branch: remove unnecessary symbolic link
2023-08-22 10:12:23 +08:00
08202d1bab
programs/pop-launcher: update NixOS module
...
Now it assumes the package is patched to search its plugins and scripts
on its store path.
2023-08-22 09:18:58 +08:00
6b9f8d3b24
workflows/mosey-branch: revise template filenames
...
Just to make it less confusing.
2023-08-21 21:45:37 +08:00
f122e650c6
workflows/mosey-branch: change i18n setup to ibus
2023-08-21 21:40:19 +08:00
6661eca6a3
workflows/mosey-branch: revise desktop session package
2023-08-21 21:39:58 +08:00
3fb009f61b
workflows/mosey-branch: add gnome-session systemd units
2023-08-21 21:39:25 +08:00
3e4570e265
workflows/mosey-branch: add gnome-session sessions in system
2023-08-21 21:37:15 +08:00
4d637cc249
workflows/mosey-branch/desktop-session: fix build config
2023-08-21 21:36:20 +08:00
285bcb29a2
workflows/mosey-branch: update session script install location
2023-08-21 21:35:50 +08:00
76904cfeb1
workflows/mosey-branch: update session script
2023-08-21 19:12:46 +08:00
b80a0c50aa
workflows/mosey-branch/desktop-session: 2023-08-13 -> 2023-08-21
2023-08-21 15:44:37 +08:00
68e7eb29cf
workflows/mosey-branch: add debug option on module
2023-08-21 15:42:40 +08:00
01003d8293
workflows/mosey-branch: refactor custom desktop session package
2023-08-21 15:42:08 +08:00
9644f90dba
workflows/mosey-branch: build custom session script in package
2023-08-21 15:41:21 +08:00
a4d78f5ed3
profiles/i18n: update fcitx5 configuration
2023-08-21 12:13:30 +08:00
a88b0ff208
profiles/dev: add basic monitoring tools
2023-08-19 15:25:15 +08:00
609040329a
workflows/mosey-branch: update systemd units
2023-08-18 22:29:27 +08:00
ebafb21bfd
workflows/mosey-branch: add desktop files for core services
...
We're just imitating how GNOME sets up its components.
2023-08-18 22:26:36 +08:00
9d8324cf19
workflows/mosey-branch: fix build script
2023-08-14 11:21:39 +08:00
85a025f2df
workflows/mosey-branch: add core components unit files
2023-08-14 11:21:06 +08:00
2b07d44ebe
workflows/mosey-branch: update build script to accept components command
2023-08-14 11:20:12 +08:00
0225342a05
workflows/mosey-branch: create desktop session files package
...
This should make it easier to manage the custom desktop files with the
usual toolchain for configuring and installing custom desktop files
(i.e., Meson). While this could be done with Nix, some parts of
installing files is easier with Meson.
Who knows, it might be reverted because my Nix-fu is pretty weak right
now.
2023-08-12 15:46:03 +08:00
fa698a64cc
workflows/mosey-branch: init
...
It's not yet fully working and the design is not yet complete. The
foundation should be set with the custom gnome-session configuration
though.
2023-08-11 15:42:34 +08:00
0e6f3cea8c
profiles/desktop: add game controller drivers for hardware submodule
2023-08-04 05:29:56 +08:00
415cd10f9b
profiles/gaming: add game controller drivers
2023-08-04 05:28:59 +08:00
9c20c6675a
config: update font-related attributes from its deprecated versions
2023-07-29 13:21:20 +08:00
ac39b4cc58
services/wezterm-mux-server: add user and group option
...
The errors are most likely from wezterm-mux-server trying to start a
shell. This could be configured but it is better to treat this service
similarly to SSH servers.
2023-07-28 08:35:07 +08:00
6dcbb30e4a
config: change internal variable used for checking
2023-07-28 08:30:12 +08:00
f34d793bb6
services/wezterm-mux-server: update hardening settings
2023-07-27 22:21:30 +08:00
9d75a4101f
services/wezterm-mux-server: update service dependency
2023-07-27 13:35:38 +08:00
3c4aef00d4
modules: convert module description to RFC0072-style
2023-07-27 11:13:39 +08:00
22b8cc86e9
profiles/filesystem: add cluster-wide default setup option
2023-07-24 15:23:05 +08:00
cf92d4584c
profiles/filesystem: add personal webstorage setup
2023-07-24 15:18:28 +08:00