Commit Graph

56 Commits

Author SHA1 Message Date
2b239f6b5e
wrapper-manager-fds/tests: add tests for actually checking the configurations 2024-07-27 20:17:48 +08:00
b681861b59
wrapper-manager-fds/modules: fix makeWrapper arguments
Welp, we escape the arguments properly this time since it doesn't work
anymore for some reason but at least it is consistent for both binary-
and shell-based wrappers.
2024-07-27 20:00:36 +08:00
a8748bd55d
wrapper-manager-fds/modules: add locale option for global env and per-wrapper 2024-07-27 12:18:41 +08:00
df76518872
wrapper-manager-fds/modules: update PATH and XDG dirs to be a part of env instead
This makes it easier to work with for custom modules.
2024-07-27 12:09:47 +08:00
e9eae2f2eb
wrapper-manager-fds/modules: update common env module visibility 2024-07-23 21:41:45 +08:00
346a189e1e
wrapper-manager-fds/modules: update behavior for setting env-wide XDG dirs 2024-07-23 21:41:09 +08:00
df35b20e04
wrapper-manager-fds/modules: add build.passthru 2024-07-23 21:40:28 +08:00
97765437bb
wrapper-manager-fds/docs: reorganize to make way for other docs output 2024-07-21 20:22:02 +08:00
8a4a331a8d
wrapper-manager-fds/modules: set pkgs on integration modules modularly
Now we have consistent behavior on both manual evaluation and on the
integration modules.
2024-07-21 17:50:20 +08:00
aa2de221a0
wrapper-manager-fds/docs: update project overview 2024-07-21 17:49:52 +08:00
cbabbcf71b
wrapper-manager-fds/modules: add configuring XDG-related directories per-wrapper 2024-07-21 17:43:30 +08:00
6a590fb47d
wrapper-manager-fds/lib: add function for getting XDG-related directories 2024-07-21 17:41:05 +08:00
a21607f907
wrapper-manager-fds/lib: update module evaluation function
Now we set `pkgs` modularly allowing users to set their own nixpkgs
instance for whatever reason. Also, we removed `modulesPath` since it is
pointless and I would like to keep wrapper-manager-fds to be pretty
simple to maintain at its core.
2024-07-21 16:23:50 +08:00
2a84b7e129
wrapper-manager-fds/modules: update module descriptions and disable escaping pathAdd
`makeWrapperBinary` already escapes it so it would be problematic.
2024-07-21 16:22:12 +08:00
f70eb83479
wrapper-manager-fds/docs: update default language settings
This should also fix the missing text for the theme switch button since
i18n files are not matching apparently.
2024-07-21 11:59:02 +08:00
f43f01be2d
wrapper-manager-fds/docs: update build step for Hugo site
For now, there is a broken build hook for building Hugo sites but we'll
figure it out.
2024-07-20 13:33:51 +08:00
d3476ce274
wrapper-manager-fds: update devshell 2024-07-19 13:50:41 +08:00
9a57d1e25d
wrapper-manager-fds/docs: update README
Rather migrate it as part of the documentation content.
2024-07-19 13:50:15 +08:00
6f62e3077a
wrapper-manager-fds: update comments 2024-07-16 18:50:29 +08:00
dce4af7654
wrapper-manager-fds: init Makefile and update README 2024-07-16 18:48:52 +08:00
e94bf19939
wrapper-manager-fds: update sources 2024-07-16 18:39:02 +08:00
89405232cd
wrapper-manager-fds/docs: update Hugo config 2024-07-16 18:37:40 +08:00
1e87d19121
wrapper-manager-fds/docs: update Nix module options data generation 2024-07-15 11:35:47 +08:00
d111577481
wrapper-manager-fds/docs: init Hugo project skeleton 2024-07-15 11:08:29 +08:00
4774e3b9c2
wrapper-manager-fds: init README 2024-07-15 11:06:55 +08:00
f506e7c802
wrapper-manager-fds/docs: init Ruby environment 2024-07-14 13:36:03 +08:00
2f0b564277
wrapper-manager-fds: init gitignore 2024-07-14 11:16:58 +08:00
7e025bd9cf
wrapper-manager-fds/docs: init subproject 2024-07-14 11:14:22 +08:00
7de7807cda
wrapper-manager-fds: put more things in flake 2024-07-14 11:13:08 +08:00
ee4b26d2ea
wrapper-manager-fds: improve devshell for non-flake users 2024-07-13 17:00:39 +08:00
0f1df5e447
wrapper-manager-fds/tests: init derivation for tests
This is to make checking with flakes a bit easier. Though, there are
much better ways to integrate this even with just the nix-command
experimental feature.
2024-07-13 17:00:06 +08:00
1ba01aa5a8
wrapper-manager-fds: create LICENSE 2024-07-12 13:05:54 +08:00
5043f6b01a
wrapper-manager-fds/modules: force generated desktop files into path
`pkgs.symlinkJoin` probably doesn't like that but for now, this will do.
2024-07-11 17:30:40 +08:00
26fc802dc7
wrapper-manager-fds/modules: disable read-only for makeWrapperArgs per-wrapper
This should make it usable for third-party module authors (which is also
me considering I make custom modules for myself).
2024-07-11 17:30:01 +08:00
6c6ae7ecd6
wrapper-manager-fds/modules: update example for env integration 2024-07-10 15:45:04 +08:00
da6c75a510
wrapper-manager-fds/lib: remove build-support subset
It isn't used much and the module environment has gone into a much more
than a single wrapper-per-module config.
2024-07-10 15:44:40 +08:00
59494222d6
wrapper-manager-fds/modules: update XDG desktop entry config for wrappers 2024-07-10 15:39:37 +08:00
f146415330
wrapper-manager-fds/modules: un-modularize parts of the module
There's not much use for it being modularized anyways.
2024-07-10 15:39:12 +08:00
9128f0094b
wrapper-manager-fds/modules: update common env module documentation 2024-07-09 23:18:32 +08:00
025b4f043a
wrapper-manager-fds/lib: make eval functions easier to import
This is to make wrapper-manager-fds easier to bootstrap whether used
with flakes or not.
2024-07-09 23:17:52 +08:00
50d8125b1b
wrapper-manager-fds/modules: init setting XDG desktop entries 2024-07-09 16:03:30 +08:00
62520e543e
wrapper-manager-fds/tests: init utils subset 2024-07-09 15:44:57 +08:00
a04da2a0ec
wrapper-manager-fds/tests: update test for env subset 2024-07-08 21:13:32 +08:00
3324c12d4c
wrapper-manager-fds/modules: overhaul wrapper config
Now, there could be multiple wrappers within the configuration but it
should still result with one derivation unlike the original version.
This could be handy for making package overrides with multiple binaries
(for example, 7Z) while making the interface consistent. This turns out
to be way nicer than I thought which is a good thing.
2024-07-08 21:12:31 +08:00
709c2a6dfb
wrapper-manager-fds/lib: add arg0 argument for mkWrappedPackage
Time to figure out if this is a good idea.
2024-07-03 23:19:22 +08:00
46f0fe33d9
wrapper-manager-fds/modules: fix NixOS and home-manager module 2024-07-03 23:18:26 +08:00
6d2bed291f
wrapper-manager-fds: init flake 2024-07-02 19:39:25 +08:00
eaad135a07
wrapper-manager-fds/modules: init module for home-manager and NixOS integration 2024-07-02 19:30:47 +08:00
6f16631346
wrapper-manager-fds/lib: add lib argument for evaluation 2024-07-02 13:26:40 +08:00
f1d4984921
wrapper-manager-fds/modules: add unset option 2024-07-02 11:56:26 +08:00