Commit Graph

239 Commits

Author SHA1 Message Date
ec6724db2d
profiles/dev: configure bat 2023-04-20 14:57:41 +08:00
c5bf67553c
modules/mutable-files: fix the service value 2023-03-23 08:06:44 +08:00
51dde96620
modules/mutable-files: refactor and rename service 2023-03-21 00:17:03 +08:00
b42bc0f722
modules/mutable-files: update submodule (again) 2023-03-20 13:45:56 +08:00
8210f3274e
modules/mutable-files: update module to be more usable 2023-03-17 22:39:52 +08:00
56635f0502
modules/mutable-files: add extraArgs for file submodule 2023-03-17 22:39:03 +08:00
deea0e5dce
modules/mutable-files: fix module 2023-03-17 22:36:36 +08:00
2f4eb20a64
modules/mutable-files: init module 2023-03-13 23:45:17 +08:00
d227116561
profiles/desktop: update ffmpeg to full package 2023-03-10 08:27:33 +08:00
32760b2253
profiles/dev: add zenith to extra subcategory 2023-03-09 11:44:21 +08:00
37a05da569
profiles/desktop: add ffmpeg to every subcategory
It is pretty much needed for every subcategory at this point. Although,
there should be a better way to put this program.
2023-03-08 23:47:45 +08:00
a2571ad13a
profiles/desktop: separate video and documents into separate categories
It has gone too big. Not to mention, photos and audio is also multimedia
technically so it just makes it more confusing.
2023-03-08 23:46:06 +08:00
c6e33bceef
profiles/desktop: add more applications 2023-02-25 10:01:50 +08:00
395a42d60b
services/bleachbit: update unit names 2023-02-11 09:16:32 +08:00
2643f15d0d profiles/desktop: add some writing tools 2022-12-20 11:09:56 +08:00
530042b695 profiles/editor: update Emacs package 2022-12-17 11:17:31 +08:00
Gabriel Arazas
8ecb1ca366 profiles/desktop: add Audacity for audio packages 2022-12-09 09:19:23 +08:00
Gabriel Arazas
7e5eab2d47 profiles/editors: add Guile for Emacs submodule 2022-11-30 08:36:37 +08:00
Gabriel Arazas
5f32e4fd98 profiles: update misc parts of config 2022-11-26 14:13:59 +08:00
Gabriel Arazas
3a7816a901 chore: reformat codebase 2022-11-19 11:32:29 +08:00
Gabriel Arazas
1658f2d4ca services/bleachbit: cleanup and format 2022-11-13 14:03:49 +08:00
Gabriel Arazas
b1726ddd0d services/bleachbit: add package option 2022-11-13 14:03:49 +08:00
Gabriel Arazas
18adca6409 config: add more comments
Accumulated over time so time for another commit.
2022-11-06 17:38:51 +08:00
Gabriel Arazas
35bb266dc4 profiles/desktop: configure mpv bindings 2022-10-22 16:13:58 +08:00
Gabriel Arazas
69fac7d04c profiles/dev: configure direnv 2022-10-19 15:11:45 +08:00
Gabriel Arazas
0bc3fac537 profiles/desktop: configure mpv 2022-10-19 15:11:45 +08:00
Gabriel Arazas
aefbbba7cf profiles: update comments
Welp, it accumulated over time and I had fun updating these little
descriptions.
2022-10-13 18:32:47 +08:00
Gabriel Arazas
5dd0c19636 profiles/desktop: configure Sioyek 2022-10-13 09:05:35 +08:00
Gabriel Arazas
3b67d5b5e5 services/bleachbit: update units 2022-10-12 07:02:42 +08:00
Gabriel Arazas
bc847f28ea services/bleachbit: change the cleaners default value 2022-10-12 07:02:24 +08:00
Gabriel Arazas
ae0cb8596a config: refactor and update 2022-10-10 11:45:22 +08:00
Gabriel Arazas
14f1f8c75f config: disable Archivebox
It is broken and it has been like that for a couple of months so we'll
just disable it completely. I mostly use the web UI with manual
management of archiving anyways.
2022-09-21 14:17:11 +08:00
Gabriel Arazas
d20b192c41 services: refactor 2022-09-12 17:36:22 +08:00
Gabriel Arazas
fc7c2849bd profiles/desktop: update audio config 2022-09-02 08:51:04 +08:00
Gabriel Arazas
767bfddead services/yt-dlp: update config to log to journal
Apparently, it doesn't really log the errors in the journal so it can
make the service failed for no reason. It can be configured to redirect
it to journal.
2022-08-31 14:37:58 +08:00
Gabriel Arazas
96ab200946 programs/pop-launcher: fix package list to actually install the specified package 2022-08-14 11:31:57 +08:00
Gabriel Arazas
08160eb827 misc: update and refactor 2022-08-13 08:31:44 +08:00
Gabriel Arazas
36909a281f services/yt-dlp: refactor 2022-08-11 09:43:17 +08:00
Gabriel Arazas
6fb793d24a programs/pop-launcher: create module
This is to easily install launcher plugins and scripts in NixOS. I don't
know if this is also possible on home-manager (which I think it could be
since it also has the capability to set files).
2022-08-07 17:43:57 +08:00
Gabriel Arazas
220b16e954 services/bleachbit: properly escape shell arguments 2022-08-06 15:44:50 +08:00
Gabriel Arazas
8590f4ea32 services/recoll: remove since it is upstreamed 2022-07-31 14:44:29 +08:00
Gabriel Arazas
8fdd60098f services: fix correct module documentation 2022-07-30 16:22:24 +08:00
Gabriel Arazas
faf11bb6ee services: fix proper values 2022-07-26 20:04:08 +08:00
Gabriel Arazas
906ea48993 services: change dependency requirement
I didn't realize `network.target` is very ambiguous. The next best thing
for booting up the service after the system is up is `default.target`
but we're being explicit here for NixOS services just to make sure.
2022-07-22 15:02:30 +08:00
Gabriel Arazas
d9811b1d84 services/gallery-dl: add job persistence 2022-07-21 09:54:36 +08:00
Gabriel Arazas
e9c2c3d226 services/yt-dlp: add job persistence 2022-07-21 09:54:00 +08:00
Gabriel Arazas
37a1c4ee33 services/yt-dlp: escape extra arguments
Proper service scripting and all that.
2022-07-20 16:58:31 +08:00
Gabriel Arazas
dd9921fc7e services/gallery-dl: add job-specific settings
The arguments are also arranged to let the resulting settings cascade
from service-wide to job-specific settings.
2022-07-20 16:56:44 +08:00
Gabriel Arazas
0c7f57f5a9 profiles/dev: update atuin config 2022-07-14 08:04:24 +08:00
Gabriel Arazas
14c10abded profiles/editors: update Emacs to use nativeComp branch 2022-07-14 08:04:13 +08:00
Gabriel Arazas
8b4690fc73 profiles/i18n: add more fonts for home configs 2022-07-13 21:50:31 +08:00
Gabriel Arazas
95d30dbdcf profiles/dev: fix custom functions... again 2022-07-09 10:52:54 +08:00
Gabriel Arazas
1929f406ca profiles/desktop: remove yabridge packages temporarily 2022-07-08 09:39:34 +08:00
Gabriel Arazas
ff18237d0b profiles/dev: improve custom functions 2022-07-08 06:27:12 +08:00
Gabriel Arazas
91b31d6d30 profiles/dev: update dev.shells to add Bash as preferred shell 2022-07-06 07:46:40 +08:00
Gabriel Arazas
fbda6c94ff profiles/dev: replace hexchat with treefmt 2022-06-12 13:50:30 +08:00
Gabriel Arazas
3438f4392e profiles: update various profiles 2022-06-09 13:00:23 +08:00
Gabriel Arazas
ab1222abb3 services/mopidy: remove service
It is now upstreamed into home-manager so yay!
2022-05-21 09:50:55 +08:00
Gabriel Arazas
d586fba900 update profiles and user configs 2022-05-20 14:47:09 +08:00
Gabriel Arazas
7ec58315c1 update various files 2022-04-30 20:31:11 +08:00
Gabriel Arazas
c0dd8ab1a8 services/yt-dlp: fix service working directory
There is the `--paths` option for that purpose. It also eliminates the
workaround for creating the directory before starting the service for
newly-bootstrapped systems.

The several hardening options have also been corrected.
2022-04-22 13:13:48 +08:00
Gabriel Arazas
49018fb53e modules: reformat and refactor 2022-04-06 10:48:29 +08:00
Gabriel Arazas
fe94062d2e profiles/research: add more applications for it 2022-04-03 10:24:10 +08:00
Gabriel Arazas
aa690de222 services/bleachbit: add withChatCleanup option
Comes along a refactoring of the code. Didn't realized `let` is a thing
back then. Whoops...
2022-04-03 10:20:54 +08:00
Gabriel Arazas
6e214feb4a services/yt-dlp: init service
Structure-wise, it is pretty similar to the gallery-dl service. It was
about to be combined into a bigger service module as a dedicated service
for multimedia archiving but it is better to have them modularized in
the long run.
2022-04-03 10:18:22 +08:00
Gabriel Arazas
e0bba5655b services/gallery-dl: init service
Both for home-manager and NixOS, this time. Because I find use for both
of them, especially if you have a dedicated server for NixOS.
2022-04-03 10:10:29 +08:00
Gabriel Arazas
ac91cdc053 archivebox: update the service module
It can now add and schedule archiving tasks. Since archivebox will use
Crontab module (which uses `/usr/bin/crontab`), the scheduling with the
interface is out of the question. What better way to make it possible
than creating a home-manager module for it?
2022-03-21 10:06:23 +08:00
Gabriel Arazas
998f408fb2 plover: init service 2022-03-09 21:06:27 +08:00
Gabriel Arazas
905b5680b1 Clean up the files 2022-02-02 12:27:32 +08:00
Gabriel Arazas
5f3e9a4022 modules/home-manager/services/mopidy: refactor and update 2022-01-31 07:58:16 +08:00
Gabriel Arazas
4800a803bd modules/home-manager/services/recoll: init service 2022-01-31 07:57:38 +08:00
Gabriel Arazas
342a077f04 home-manager/services/mopidy: Simplify the service
Now, the configuration is made into a proper Nix configuration with the
output being converted to INI format.

For mapping the types, look for `mopidy/config/types.py`. The only
quirky mapping so far is the list type.
2022-01-20 16:12:48 +08:00
Gabriel Arazas
def1a4a9a4 Update miscellaneous parts of the configuration 2022-01-12 11:03:31 +08:00
Gabriel Arazas
7db21c9fc5 Format the files through nixfmt 2022-01-11 20:22:08 +08:00
Gabriel Arazas
d0a87597c5 Make minor adjustments to several modules 2022-01-11 20:19:54 +08:00
Gabriel Arazas
66dbda3561 Create mopidy home-manager module
It is just an adapted version from the NixOS module. I'll eventually
figure out how to be 'properly configured' with the Nix language through
the `lib.generator`.
2022-01-11 20:15:05 +08:00
Gabriel Arazas
6b481a163a Restructure the modules
While it is easier to maintain the modules by prefixing them all with
`modules`, it is not easy when used from other flakes and/or modules.
This is my attempt on making it easier with appropriate namespaces.

Update home-manager user from the restructure
2022-01-09 19:44:09 +08:00
foo-dogsquared
916c231bbb Update bleachbit module in home-manager
Now the browser-related cleaners are separated from the default cleaner
lists and has to be activated with `withBrowserCleanup` option.

Browser caches cleanup are also added as part of the updated module.
2022-01-02 09:29:48 +08:00
foo-dogsquared
405fd9f1e1 Make miscellaneous updates :) 2021-12-26 16:02:57 +08:00
foo-dogsquared
9f7dc70ab8 Add modules.editors module for home-manager 2021-12-25 22:31:12 +08:00
Gabriel Arazas
9d80133023 Update miscellaneous modules and documentation 2021-12-19 17:38:35 +08:00
Gabriel Arazas
550f890b4f Update custom modules 2021-12-13 15:20:34 +08:00
Gabriel Arazas
2ccaca429a Add modules
- `modules.bleachbit` for home-manager.
- `modules.hardware-setup.backup-archive` for NixOS. This might be
  converted to a generic backup service for removable devices.
2021-12-11 13:31:28 +08:00
Gabriel Arazas
efc578e961 Update modules
- Add `modules.desktop.cleanup` for the usual cleanup activties in
  NixOS.
- Update to proper descriptions for module options added with
  `lib.mkEnableOption`.
- Additional packages for various modules.
- Deleted `modules/home-manager/alacritty`. It is pretty useless though.
  :(
2021-12-11 13:16:45 +08:00
Gabriel Arazas
cd15eada5a Update modules and configurations 2021-12-08 12:18:37 +08:00
Gabriel Arazas
c99beb25ce Basic restructuring fix 2021-12-06 18:24:27 +08:00
Gabriel Arazas
c7d2b21756 Revert restructuring 2021-12-06 18:12:00 +08:00
Gabriel Arazas
889742c402 Add library and desktop modules 2021-12-06 17:53:34 +08:00
Gabriel Arazas
3a022a374a Restructure the modules
I think this is better for separating modules explicitly. This is also
considered as there are similar objects between modules (e.g., NixOS
and home-manager modules and users).

Revert users module to old position
2021-12-06 17:03:39 +08:00