From b7d77c70055e9559248b440f368c94f6c7453588 Mon Sep 17 00:00:00 2001 From: winston Date: Sun, 2 Apr 2023 18:59:55 +0200 Subject: [PATCH] feat: linux tweaks --- flake.lock | 6 +++--- home/apps/i3.nix | 19 +++++++++++++++++++ machines/common/linux/sound.nix | 1 + 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 87fa63c..ffeef23 100644 --- a/flake.lock +++ b/flake.lock @@ -131,11 +131,11 @@ ] }, "locked": { - "lastModified": 1680144713, - "narHash": "sha256-cXe2cObjV08LcxbwSmGt2inN6nFCVFuRhVMFRchk8rw=", + "lastModified": 1680386606, + "narHash": "sha256-ET0OYu0mQtWCMvjZVP6nw8kX/yzfOEcrhlOn6/jK7lw=", "owner": "nekowinston", "repo": "nur", - "rev": "04dd7c6609e177b5f6fdb9639cee1ea02a6a4a9c", + "rev": "f3fbfe4e06a05006e6137636c1675a4747eba6ac", "type": "github" }, "original": { diff --git a/home/apps/i3.nix b/home/apps/i3.nix index 6bb439e..673fdae 100644 --- a/home/apps/i3.nix +++ b/home/apps/i3.nix @@ -353,6 +353,25 @@ in { volnoti xclip ]; + pointerCursor = { + name = "Numix-Cursor"; + package = pkgs.numix-cursor-theme; + gtk.enable = true; + size = 24; + x11.enable = true; + }; + }; + + xresources = lib.mkIf isLinux { + properties = { + "Xft.dpi" = 192; + "Xft.autohint" = 0; + "Xft.lcdfilter" = "lcddefault"; + "Xft.hintstyle" = "hintfull"; + "Xft.hinting" = 1; + "Xft.antialias" = 1; + "Xft.rgba" = "rgb"; + }; }; services = lib.mkIf isLinux { diff --git a/machines/common/linux/sound.nix b/machines/common/linux/sound.nix index 6bd7465..1dde499 100644 --- a/machines/common/linux/sound.nix +++ b/machines/common/linux/sound.nix @@ -6,6 +6,7 @@ pipewire = { enable = true; pulse.enable = true; + alsa.enable = true; }; }; }