about summary refs log tree commit diff
path: root/modules/nixos
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-04-04 12:47:53 +0300
committerAzat Bahawi <azat@bahawi.net>2023-04-04 12:47:53 +0300
commit3914e5a62bdc3b89f8b7da7aa000e2934613fe85 (patch)
treed54f450ea58dd30fc5117a0636988c2de34b27ed /modules/nixos
parent2023-04-01 (diff)
2023-04-04
Diffstat (limited to '')
-rw-r--r--modules/nixos/firefox/default.nix6
-rw-r--r--modules/nixos/monitoring/default.nix5
-rw-r--r--modules/nixos/profiles/headful.nix2
3 files changed, 7 insertions, 6 deletions
diff --git a/modules/nixos/firefox/default.nix b/modules/nixos/firefox/default.nix
index 4f16767..da78a1c 100644
--- a/modules/nixos/firefox/default.nix
+++ b/modules/nixos/firefox/default.nix
@@ -140,7 +140,7 @@ in {
                 enable = true;
                 "network.trr.mode" = {
                   enable = true;
-                  value = 5;
+                  value = 5; # This disables DoH, which ignores system resolvers if enabled.
                 };
               };
             };
@@ -176,9 +176,7 @@ in {
                 value = true;
               };
             };
-            "1200" = {
-              enable = true;
-            };
+            "1200".enable = true;
             "1700" = {
               enable = false;
               "1701" = {
diff --git a/modules/nixos/monitoring/default.nix b/modules/nixos/monitoring/default.nix
index 6f74e9f..a492a47 100644
--- a/modules/nixos/monitoring/default.nix
+++ b/modules/nixos/monitoring/default.nix
@@ -134,7 +134,8 @@ in {
               static_configs = [
                 {
                   targets =
-                    mkTargets [
+                    mkTargets
+                    [
                       manwe
                       varda
                       yavanna
@@ -152,7 +153,7 @@ in {
                     [
                       manwe
                     ]
-                    config.nixfiles.modules.ntfy.port;
+                    config.nixfiles.modules.ntfy.prometheus.port;
                 }
               ];
             }
diff --git a/modules/nixos/profiles/headful.nix b/modules/nixos/profiles/headful.nix
index 610f3c7..3bdf8fd 100644
--- a/modules/nixos/profiles/headful.nix
+++ b/modules/nixos/profiles/headful.nix
@@ -13,6 +13,8 @@ in {
       firefox.enable = true;
       sound.enable = true;
 
+      nullmailer.enable = true;
+
       dwm.enable = mkDefault false;
       kde.enable = mkDefault true;
       xmonad.enable = mkDefault false;

Consider giving Nix/NixOS a try! <3