From a5f30ff1d017c79737811dc7fb2ea2dfeb572d82 Mon Sep 17 00:00:00 2001 From: kat witch Date: Sun, 29 Aug 2021 18:05:31 +0100 Subject: [PATCH] lock fixes, theme fix, sysctl inotify fix --- config/modules/home/theme.nix | 2 +- config/profiles/base/system.nix | 1 + config/users/kat/sway/sway.nix | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/modules/home/theme.nix b/config/modules/home/theme.nix index 9842038f..1933530c 100644 --- a/config/modules/home/theme.nix +++ b/config/modules/home/theme.nix @@ -52,7 +52,7 @@ let cfg = config.kw.theme; in (lib.filterAttrs (n: _: lib.hasInfix "base" n) config.lib.arc.base16.schemeForAlias.default); base16t = lib.mapAttrs' (k: v: lib.nameValuePair "${k}t" "rgba(${toString v.rgb.r}, ${toString v.rgb.g}, ${toString v.rgb.b}, ${toString cfg.alpha})") (lib.filterAttrs (n: _: lib.hasInfix "base" n) config.lib.arc.base16.schemeForAlias.default); - alpha = 0.5; + alpha = 0.7; }; lib.kw.sassTemplate = { name, src }: diff --git a/config/profiles/base/system.nix b/config/profiles/base/system.nix index 535062f3..7a3651b0 100644 --- a/config/profiles/base/system.nix +++ b/config/profiles/base/system.nix @@ -6,6 +6,7 @@ boot.tmpOnTmpfs = true; boot.zfs.enableUnstable = true; boot.kernel.sysctl = { + "fs.inotify.max_user_watches" = "524288"; "net.core.rmem_max" = "16777216"; "net.core.wmem_max" = "16777216"; "net.ipv4.tcp_rmem" = "4096 87380 16777216"; diff --git a/config/users/kat/sway/sway.nix b/config/users/kat/sway/sway.nix index 49bb4af9..8890886d 100644 --- a/config/users/kat/sway/sway.nix +++ b/config/users/kat/sway/sway.nix @@ -14,6 +14,7 @@ let ${pkgs.swaylock-effects}/bin/swaylock \ --screenshots \ --indicator \ + -f \ --indicator-radius 110 \ --indicator-thickness 8 \ --font ${config.kw.theme.font.name} \