summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common/desktop.nix23
-rw-r--r--common/monitoring.nix4
2 files changed, 19 insertions, 8 deletions
diff --git a/common/desktop.nix b/common/desktop.nix
index 5d3bcf5..e570579 100644
--- a/common/desktop.nix
+++ b/common/desktop.nix
@@ -72,7 +72,7 @@
#boot.kernelParams = [ "console=tty1" ];
- hardware.opengl.enable = true;
+ hardware.graphics.enable = true;
programs.xwayland.enable = false;
programs.wireshark.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-wlr ];
@@ -83,12 +83,23 @@
fonts.enableDefaultPackages = true;
fonts.packages = with pkgs; [
noto-fonts
- noto-fonts-cjk
+ noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-emoji
- ];
+ ] ++ (with lib.attrsets;
+ builtins.filter isDerivation (attrValues pkgs.nerd-fonts));
+
+ xdg.portal.wlr.enable = true;
+
+ services.pipewire = {
+ enable = true;
+ audio.enable = true;
+ pulse.enable = true;
+ alsa = {
+ enable = true;
+ support32Bit = true;
+ };
+ # jack.enable = true;
+ };
- # Enable sound.
- sound.enable = true;
- hardware.pulseaudio.enable = true;
}
diff --git a/common/monitoring.nix b/common/monitoring.nix
index e5f111c..0ae744d 100644
--- a/common/monitoring.nix
+++ b/common/monitoring.nix
@@ -12,8 +12,8 @@
set daemon 120 with start delay 60
set mailserver
- ping.stuebinm.eu
- port 2525
+ mail.stuebinm.eu
+ port 25
set httpd port 2812 address localhost
allow localhost