Commit Graph

78 Commits

Author SHA1 Message Date
Gabriel Arazas
e79460b3af nixos/services/borgmatic: remove service
It is not needed anymore since all of my backup procedures are now done
with the NixOS borg service.
2022-02-23 14:02:24 +08:00
Gabriel Arazas
207a682045 backup-archive: switch to NixOS borg module
While Borgmatic is great, the NixOS module does have easier
configuration for various use cases such as backups in removable
devices. To make this possible in Borgmatic, you have to go through some
loops.

Borgmatic does have easier way of indicating paths. However, in recent
versions of Borg, they have the experimental feature of indicate both
include and exclude through patterns which is close enough.

Also, because of this, we'll be deprecating the custom borgmatic service
at this point. It'll be removed once all of my NixOS-related backup
setups are not using it.
2022-02-19 16:58:08 +08:00
Gabriel Arazas
1d7f318696 Clean up files 2022-02-11 12:31:44 +08:00
Gabriel Arazas
c753ff5294 Update various files 2022-02-05 18:58:42 +08:00
Gabriel Arazas
d5c914f127 modules/nixos/themes: fix assertion
Whoops... brain fart. :/
2022-02-04 20:43:42 +08:00
Gabriel Arazas
2415514ab1 modules/nixos/themes/a-happy-gnome: update config 2022-02-04 16:38:52 +08:00
Gabriel Arazas
0f3d7fc7f6 modules/nixos/themes/a-happy-gnome: update theme
* Several extension configurations has been updated.
* It has a built-in extension for workspace rules?!
* More extensions!
2022-02-02 12:32:08 +08:00
Gabriel Arazas
905b5680b1 Clean up the files 2022-02-02 12:27:32 +08:00
Gabriel Arazas
4ec2730ad8 host/ni: use Guix module from guix-overlay 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
a6a4b2b1e1 Update various files 2022-01-25 09:32:17 +08:00
Gabriel Arazas
8608009146 nixos/themes/a-happy-gnome: Refactor and fix dconf keyfiles 2022-01-20 16:17:15 +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
0f31e8b361 modules/nixos/services/guix: add Guix binary installation service 2022-01-19 09:53:55 +08:00
Gabriel Arazas
def1a4a9a4 Update miscellaneous parts of the configuration 2022-01-12 11:03:31 +08:00
Gabriel Arazas
3d2076dabb Add nix-alien for NixOS-related configurations 2022-01-12 10:45:06 +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
dda3974ee7 Update "A happy GNOME" theme
- The custom dconf is now placed as a keyfile in the appropriate
  directory.

- Add more packages to the theme module.

Update GNOME 2
2022-01-09 20:06: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
f107560769 Create a new of borgmatic NixOS service
Based from the original but only the service fully baked in with Nix
instead of importing the sample service and timer unit file into
systemd.
2022-01-01 20:17:20 +08:00
foo-dogsquared
ae722324f5 Update documentation 2021-12-26 18:43:23 +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
foo-dogsquared
875abade93 Add modules.desktop.wine option
I'll experiment using Wine with NixOS. Let's just see how this goes.
2021-12-25 22:31:12 +08:00
foo-dogsquared
4c0f04266e Remove editor module for NixOS
The dedicated editor module for NixOS has been removed seeing as it is
barely used. The only exception is Neovim which is moved into
`modules.dev.neovim`.
2021-12-25 20:35:55 +08:00
foo-dogsquared
6d33406492 Update themes module
Setting themes should be in `modules.themes.themes` for namespacing and
the module itself is gaining options.
2021-12-25 20:32:52 +08:00
Gabriel Arazas
9eac509b26 Update documentation 2021-12-21 14:29:27 +08:00
Gabriel Arazas
9d80133023 Update miscellaneous modules and documentation 2021-12-19 17:38:35 +08:00
Gabriel Arazas
3997805f5a Improve backup service 2021-12-19 17:37:22 +08:00
Gabriel Arazas
00e5c13cff Improve NixOS custom user module
Now, it allows for fine-grained configuration for specific users. I also
managed to fix the infinite recursion error by directly assigning the
values to the keys instead of creating a merged module value in
`config`.
2021-12-19 17:33:33 +08:00
Gabriel Arazas
550f890b4f Update custom modules 2021-12-13 15:20:34 +08:00
Gabriel Arazas
adf04a9393 Update various configurations
Flake outputs, hosts, users, and formatting of Nix files. et cetera, et
cetera.
2021-12-11 13:37:27 +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
e8b5f05bfd Update flakes and documentations 2021-12-06 17:57:54 +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
Gabriel Arazas
3fe8849fe6 Update "A happy GNOME" config 2021-12-05 10:18:50 +08:00
Gabriel Arazas
b7b641aacd Update modules
- 'A happy GNOME' config
- Refactoring some parts of the codebase
2021-12-04 23:27:10 +08:00
Gabriel Arazas
40cca61bbe Update library and custom modules
- Add custom GNOME configurations with dconf keyfiles.
- Refactoring in certain parts of files especially with handling merging
  and importing of modules.
2021-12-02 21:45:49 +08:00
Gabriel Arazas
0f6cf8871f Update config and format the files 2021-11-30 09:03:05 +08:00
Gabriel Arazas
2cf96cb1f3 Format the Nix files 2021-11-29 17:58:02 +08:00
Gabriel Arazas
e2699c2cea Update home-manager modules and related configs 2021-11-29 17:56:24 +08:00