Commit Graph

244 Commits

Author SHA1 Message Date
4c34a87366 chore: reformat codebase 2023-01-07 16:06:34 +08:00
85e1914025 config: replace Borgbase with Hetzner storage box for Borg repos 2023-01-07 10:52:31 +08:00
ef53cbead0 profiles/i18n: remove goldendict
Needs qtwebkit which will require a big rebuilding (to my computer).
2022-12-31 19:15:16 +08:00
a8e7de9eec profiles/server: disable mutable users 2022-12-28 14:13:23 +08:00
59461cc416 config: refactor BorgBackup service 2022-12-17 11:17:31 +08:00
3d85142bb2 profiles/desktop: add steam-run application 2022-12-12 14:20:20 +08:00
Gabriel Arazas
e8a1dc2fd9 config: update more comments 2022-12-10 18:47:41 +08:00
Gabriel Arazas
8b47e08c1a profiles/server: update comments 2022-12-06 15:55:23 +08:00
Gabriel Arazas
6bc62988ef profiles/dev: add github-cli and update comments 2022-12-06 15:55:23 +08:00
Gabriel Arazas
05b1c62adf tasks/backup-archive: change default settings 2022-12-06 15:55:23 +08:00
Gabriel Arazas
f0b2aee54e profiles/server: fix i18n.supportedLocales 2022-12-01 08:47:36 +08:00
Gabriel Arazas
9a07eedb14 config: update comments and module descriptions 2022-11-30 08:40:49 +08:00
Gabriel Arazas
b756caa974 profiles/i18n: force all locales to be supported
Maybe it's a good idea but it's more likely to be a bad one considering
there's going to be a lot of use cases for needing more specific
locales. If I have money to spare, I'll bet some to see if this will
change in the next 90 days.
2022-11-30 08:36:37 +08:00
Gabriel Arazas
e6e3dc85f6 profiles/server: init module 2022-11-30 08:36:37 +08:00
Gabriel Arazas
131fa25023 profiles/system: rename to profiles/desktop
The need for configuring desktop and server in separate profiles is
becoming more obvious. Not to mention, most of the system config from
profiles/system is obviously more desktop-oriented.
2022-11-29 21:10:51 +08:00
Gabriel Arazas
a9080eff06 tasks/multimedia-archive: update job queue for archivebox service 2022-11-26 20:52:19 +08:00
Gabriel Arazas
5f32e4fd98 profiles: update misc parts of config 2022-11-26 14:13:59 +08:00
Gabriel Arazas
8e854965b7 workflows: manually update module list
Requires more manual work (which is negligible) but it's oddly more
intuitive.
2022-11-25 14:51:27 +08:00
Gabriel Arazas
5622076820 profiles/system: add hardened config 2022-11-23 22:45:07 +08:00
Gabriel Arazas
b3452258fd tasks/multimedia-archive: add jobset for Archivebox service
This is a sample but I think it's fine for situations where I have no
sources other than my remote repository.
2022-11-21 20:33:44 +08:00
Gabriel Arazas
68830df1c4 docs: update doc for multimedia archiving task 2022-11-21 10:42:14 +08:00
Gabriel Arazas
09abb36ad6 tasks/multimedia-archive: add support for category RSS attribute 2022-11-21 10:39:21 +08:00
Gabriel Arazas
a36d0ea707 tasks/multimedia-archive: fix import OPML script 2022-11-19 21:06:10 +08:00
Gabriel Arazas
451f0eb004 tasks/multimedia-archive: rename and reformat scripts
treefmt unfortunately doesn't a way to detect scripts with no file
extensions unless you entered the filename manually. We'll have to
rename them with the file extension for the time being.
2022-11-19 11:32:29 +08:00
Gabriel Arazas
3a7816a901 chore: reformat codebase 2022-11-19 11:32:29 +08:00
Gabriel Arazas
025e506499 profiles/dev: set additional Nix options 2022-11-19 11:00:15 +08:00
Gabriel Arazas
75ab01a683 tasks/multimedia-archive: update the import OPML script
It's certainly better and more flexible for other formats. Except I'm
still not going to cater much for odder Thunderbird feed folder
structures. This is mainly for myself anyways. I'll just avoid setting
it up like that. :)
2022-11-19 10:36:13 +08:00
Gabriel Arazas
d306be8758 tasks/multimedia-archive: create script for importing OPML
Not much respect for `category` attribute, apparently. I'll update it at
some point to consider the usual folder structure instead.

For now, it's not a problem for me since the exported feeds to be used
are so low anyways.
2022-11-18 17:12:54 +08:00
Gabriel Arazas
9cb4e335e0 docs: update 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
9b4e76a437 workflows/a-happy-gnome: update config 2022-11-05 09:45:13 +08:00
Gabriel Arazas
5898e46250 profiles/dev: update containers configuration 2022-11-05 09:36:33 +08:00
Gabriel Arazas
84e9866af1 tasks/multimedia-archive: add more links for gallery-dl service 2022-11-02 14:09:34 +08:00
Gabriel Arazas
badcad8b79 programs/kiwmi: update example 2022-11-01 12:28:00 +08:00
Gabriel Arazas
5437f45374 profiles/system: add utility for finding missing commands in shell 2022-10-22 16:15:52 +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
e42636bd40 profiles/dev: refactor package list to consider other modules 2022-10-12 07:03:35 +08:00
Gabriel Arazas
42a496aa27 workflows/a-happy-gnome: add more applications
Also, the Nautilus extensions are not much used so
eeeeeeeehhhh...........
2022-10-10 11:45:45 +08:00
Gabriel Arazas
ae0cb8596a config: refactor and update 2022-10-10 11:45:22 +08:00
Gabriel Arazas
6cb95c3a2a profiles/dev: add timer for profile upgrade service 2022-10-10 11:41:16 +08:00
Gabriel Arazas
267df4029e profiles/dev: add diffoscope for git difftool 2022-10-10 11:40:19 +08:00
Gabriel Arazas
66f535df97 tasks/multimedia-archive: clean up 2022-10-03 16:43:26 +08:00
Gabriel Arazas
da68210d38 tasks/multimedia-archive: refactor and reformat 2022-10-01 12:59:17 +08:00
Gabriel Arazas
a070dddc67 tasks/multimedia-archive: update to schema and restructuring 2022-10-01 12:59:17 +08:00
Gabriel Arazas
b0ee4ef296 tasks/multimedia-archive: add a schema for jobs database 2022-09-30 17:13:59 +08:00
Gabriel Arazas
ef2648bf3a config: add convention for setting profiles conditionally 2022-09-28 19:49:44 +08:00
Gabriel Arazas
1cb8b8c2cd config: change removed aliases to their non-aliased versions 2022-09-28 19:12:56 +08:00
Gabriel Arazas
38d8d19054 docs: update 2022-09-28 19:12:38 +08:00
Gabriel Arazas
a46c73bd24 tasks/multimedia-archive: add URLs for gallery-dl art job 2022-09-28 08:55:41 +08:00
Gabriel Arazas
cd9e1f7667 programs/kiwmi: fix module again :) 2022-09-28 08:55:30 +08:00
Gabriel Arazas
e8b45d36d7 programs/kiwmi: fix module
I always forget to readd the file every time I create a new file. :/
2022-09-26 14:33:56 +08:00
Gabriel Arazas
394aa2bddf docs: update profile doc 2022-09-26 14:33:56 +08:00
Gabriel Arazas
be2d6bcfcb workflows: discourage usage of profiles
I haven't realized that my own workflows use them when profiles are not
even exported in the flake output. Whoops...

For this, I'll put up a compromise by explicitly importing them.
2022-09-26 11:47:16 +08:00
Gabriel Arazas
646eb5296b programs/kiwmi: init module 2022-09-26 08:37:00 +08:00
Gabriel Arazas
72d3ee9f82 profiles/dev: add more debugging tools 2022-09-26 08:35:10 +08:00
Gabriel Arazas
bd11015b97 themes/a-happy-gnome: create .editorconfig 2022-09-25 11:50:35 +08:00
Gabriel Arazas
6a884de15a profiles/system: configure limits for audio setup 2022-09-24 13:07:56 +08:00
Gabriel Arazas
9cf40ed1af profiles/dev: add schedule for user profile update 2022-09-21 14:24:01 +08:00
Gabriel Arazas
3cee4ed9fb profiles/system: update Flatpak remotes hash 2022-09-21 14:17:11 +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
9f5b9c1be3 themes/a-happy-gnome: add PaperWM shell extension 2022-09-21 14:17:11 +08:00
Gabriel Arazas
9fc40da4f0 themes/a-happy-gnome: format dconf keyfiles 2022-09-21 14:17:11 +08:00
Gabriel Arazas
b047d0c7e3 profiles/i18n: fix assertion 2022-09-19 20:57:56 +08:00
Gabriel Arazas
39e11eac71 profiles/i18n: modularize common config into separate options 2022-09-12 18:51:09 +08:00
Gabriel Arazas
d20b192c41 services: refactor 2022-09-12 17:36:22 +08:00
Gabriel Arazas
91097f18df tasks/backup-archive: format and refactor 2022-09-01 22:47:22 +08:00
Gabriel Arazas
9b3c3f6c1b tasks/multimedia-archive: update yt-dlp service config 2022-08-31 14:39:24 +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
7d51879c9f chore: update miscellaneous parts of config 2022-08-27 13:41:12 +08:00
Gabriel Arazas
58ee2be8c5 docs: add README for profiles and update project README 2022-08-27 13:41:12 +08:00
Gabriel Arazas
6cb1515d91 themes: rename into workflows
More self-descriptive == better. Plus it does imply that themes only
change aesthetics which is not often the case with the usual modules
that are defined here.
2022-08-27 13:41:12 +08:00
Gabriel Arazas
b1aad9bd52 profiles/filesystem: fix the options 2022-08-20 14:24:58 +08:00
Gabriel Arazas
f5d0367dcb tasks/backup-archive: refactor 2022-08-20 14:15:16 +08:00
Gabriel Arazas
c53618add6 profiles/system: update config 2022-08-20 14:13:54 +08:00
Gabriel Arazas
2c17d207b6 profiles/filesystem: create module
This is primarily intended to centralize where we define our
filesystems. This way, it would also avoid potential misconfiguration
with the mount options.
2022-08-20 13:54:23 +08:00
Gabriel Arazas
57a35230e9 tasks/multimedia-archive: update script to dump JSON with UTF 2022-08-19 17:36:33 +08:00
Gabriel Arazas
84f53a2f50 tasks/backup-archive: refactor and update secrets keys 2022-08-19 17:36:33 +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
2d5f4ec996 tasks/multimedia-archive: improve script and refactor 2022-08-11 09:44:12 +08:00
Gabriel Arazas
36909a281f services/yt-dlp: refactor 2022-08-11 09:43:17 +08:00
Gabriel Arazas
8651fc7a4d programs/pop-launcher: make plugin packages not rewrite symlinks 2022-08-10 12:43:33 +08:00
Gabriel Arazas
4e996a58cf programs/wezterm: correct profile path 2022-08-10 12:14:44 +08:00
Gabriel Arazas
0126b4e1e7 programs/wezterm: create module 2022-08-08 11:18:10 +08:00
Gabriel Arazas
70de1fc6fa themes/a-happy-gnome: fix moved config 2022-08-07 19:46:29 +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
49b1d34a06 profiles/system: remove printing services 2022-08-06 15:45:54 +08:00
Gabriel Arazas
631b14f8b5 services/archivebox: add job-specific service persistence 2022-08-06 14:04:21 +08:00
Gabriel Arazas
201999056f themes/a-happy-gnome: update dconf filenames
And also some minor tweaks to them.
2022-08-05 12:45:54 +08:00
Gabriel Arazas
ab8cd0238d tasks/multimedia-archive: fix erroneous attribute 2022-08-01 20:08:55 +08:00
Gabriel Arazas
7d4c971558 themes/a-happy-gnome: update keybindings and portal settings 2022-07-31 14:44:29 +08:00
Gabriel Arazas
d423e7d692 tasks/multimedia-archive: refactor 2022-07-31 14:44:29 +08:00
Gabriel Arazas
4dd2acfe7f services/archivebox: change jobs.<name>.links to jobs.<name>.urls 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
0fe9fa6c29 tasks/multimedia-archive: update service config 2022-07-22 19:05: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
bd84463d42 tasks/multimedia-archive: update to service change
We'll also start using sops-nix to manage the secrets required for
extractors that have authentication.
2022-07-20 17:00:03 +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