mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
config: add comments
This commit is contained in:
parent
013f751ea4
commit
8e91973c70
@ -87,6 +87,12 @@
|
||||
|
||||
# The order here is important(?).
|
||||
overlays = [
|
||||
# My own set of Firefox addons. They're not included in the packages
|
||||
# output since they'll be a pain in the ass to set up for others when
|
||||
# this is also included. If I set this up to be easily included in
|
||||
# others' flake, it'll have a potential conflict for NUR users
|
||||
# (including myself) that also relies on rycee's NUR instance. Overall,
|
||||
# it's a pain to setup so I'm not including this.
|
||||
(final: prev: {
|
||||
inherit (inputs.firefox-addons.lib.${defaultSystem}) buildFirefoxXpiAddon;
|
||||
firefox-addons = final.callPackage ./pkgs/firefox-addons { };
|
||||
|
@ -130,6 +130,8 @@ in
|
||||
|
||||
allow-query { any; };
|
||||
allow-recursion { any; };
|
||||
|
||||
// We'll use systemd-resolved as our forwarder.
|
||||
forwarders { 127.0.0.53 port 53; };
|
||||
|
||||
zone "${fqdn}" {
|
||||
@ -184,9 +186,8 @@ in
|
||||
'';
|
||||
|
||||
serviceConfig = {
|
||||
# Additional service hardening. You can see most of the options
|
||||
# from systemd.exec(5) manual.
|
||||
# Run it as an unprivileged user.
|
||||
# Additional service hardening. You can see most of the options from
|
||||
# systemd.exec(5) manual. Run it as an unprivileged user.
|
||||
User = config.users.users.named.name;
|
||||
Group = config.users.users.named.group;
|
||||
UMask = "0037";
|
||||
|
Loading…
Reference in New Issue
Block a user