Refactor: dnscrypt-proxy as a service, not in gui profile

This commit is contained in:
kat witch 2021-08-31 01:01:45 +01:00
parent bd320a7c0f
commit f592f34430
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
3 changed files with 39 additions and 37 deletions

View file

@ -65,9 +65,9 @@ These are the NixOS configurations for my systems. I run nothing other than NixO
## Profiles
| Profile | Purpose |
|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [base][] | Base profile, always used. Root access, base16, home-manager, locale, network module, nix, packages, profiles, secrets, shell and sysctl configuration. |
| [gui][] | GUI profile. Provides window managers, [DNSCrypt/dnscrypt-proxy][], filesystem packages, font, NixOS-side GPG, mingetty, NFS, QT, sound (pipewire) and XDG portal configuration. |
| [gui][] | GUI profile. Provides window managers, includes [DNSCrypt/dnscrypt-proxy][] service, filesystem packages, font, NixOS-side GPG, mingetty, NFS, QT, sound (pipewire) and XDG portal configuration. |
| [vfio][] | Provides host-unspecific VFIO. Fancy patched QEMU from [arcnmx/nixexprs][], [arcnmx/screenstub][] (however, patched in-repo for Q35), AMDGPU vendor-reset and ACS override. |
| [hardware][] | Sub-profiles for my hardware are provided here. Some are reusable. |
@ -86,7 +86,8 @@ These are the NixOS configurations for my systems. I run nothing other than NixO
## Services
| Service | Description |
|------------------|--------------------------------------------------------------------------|
|--------------------|--------------------------------------------------------------------------|
| [dnscrypt-proxy][] | DNSCrypt Proxy v2, fancy DNS stuffs. |
| [filehost][] | I sling things in here via SSH/SCP. |
| [fusionpbx][] | FusionPBX. Fancy PBX. |
| [gitea][] | Self-hosted git with mail support. |
@ -200,8 +201,8 @@ Please use `nix-shell` or [direnv/direnv][]. The shell is not compatible with [n
[exprs]: overlays/exprs
[kittywitch/anicca]: https://github.com/kittywitch/anicca
[arcnmx/screenstub]: https://github.com/arcnmx/screenstub
[rinnosuke]: config/hosts/rinnosuke
[athame]: config/hosts/athame
[rinnosuke]: config/hosts/rinnosuke
[beltane]: config/hosts/beltane
[samhain]: config/hosts/samhain
[yule]: config/hosts/yule
@ -223,6 +224,7 @@ Please use `nix-shell` or [direnv/direnv][]. The shell is not compatible with [n
[5]: config/users/kat/services
[sway]: config/users/kat/sway
[kittywitch/konawall-rs]: https://github.com/kittywitch/konawall-rs
[dnscrypt-proxy]: config/services/dnscrypt-proxy/default.nix
[filehost]: config/services/filehost/default.nix
[fusionpbx]: config/services/fusionpbx/default.nix
[gitea]: config/services/gitea/default.nix

View file

@ -1,7 +1,8 @@
{ config, pkgs, ... }:
{ config, pkgs, meta, ... }:
{
imports = [
meta.services.dnscrypt-proxy
./adb.nix
./fonts.nix
./sway.nix
@ -9,7 +10,6 @@
./qt.nix
./gpg.nix
./xdg-portals.nix
./dns.nix
./nfs.nix
./mingetty.nix
./sound.nix