diff --git a/home/mako.nix b/home/mako.nix index b52df08..2fe5a18 100644 --- a/home/mako.nix +++ b/home/mako.nix @@ -24,7 +24,7 @@ in settings.margin = "10"; # all edges settings.padding = "8"; # all edges settings.border-size = 2; # px - settings.border-radius = 12; # px + settings.border-radius = 8; # px # Font & icons settings.font = "monospace 10"; # Pango font diff --git a/home/niri.nix b/home/niri.nix index bbdc053..51377ae 100644 --- a/home/niri.nix +++ b/home/niri.nix @@ -297,6 +297,13 @@ let block-out-from "screen-capture" } + // foot smaller by default + window-rule { + match title="^foot$" + open-focused true + default-column-width { proportion 0.5; } + } + //fix steam notifications to bottom rigth window-rule { match app-id="steam" title=r#"^notificationtoasts_\d+_desktop$"# diff --git a/hosts/legolas/configuration.nix b/hosts/legolas/configuration.nix index a978d42..42bfde5 100644 --- a/hosts/legolas/configuration.nix +++ b/hosts/legolas/configuration.nix @@ -14,12 +14,14 @@ # Include the results of the hardware scan. ./hardware-configuration.nix ../../modules/boot.nix + ../../modules/zram.nix ../../modules/displaymanager.nix ../../modules/nix.nix ../../secrets/sops.nix ../../modules/sound.nix ../../modules/gunalx.nix ../../modules/pam.nix + ../../modules/tailscale.nix ]; networking.hostName = "legolas"; diff --git a/hosts/legolas/hardware-configuration.nix b/hosts/legolas/hardware-configuration.nix index c2dbc38..fb4b9b4 100644 --- a/hosts/legolas/hardware-configuration.nix +++ b/hosts/legolas/hardware-configuration.nix @@ -55,10 +55,10 @@ hardware.graphics = { enable = true; extraPackages = with pkgs; [ - vpl-gpu-rt - intel-media-sdk - vaapiIntel - intel-media-driver + #vpl-gpu-rt + #intel-media-sdk + #vaapiIntel + #intel-media-driver ]; }; diff --git a/modules/tailscale.nix b/modules/tailscale.nix new file mode 100644 index 0000000..4797a7a --- /dev/null +++ b/modules/tailscale.nix @@ -0,0 +1,13 @@ +{ + config, + pkgs, + lib, + ... +}: + +{ + imports = [ ]; + + services.tailscale.enable = true; + +} diff --git a/modules/zram.nix b/modules/zram.nix new file mode 100644 index 0000000..7aa786a --- /dev/null +++ b/modules/zram.nix @@ -0,0 +1,16 @@ +{ + config, + pkgs, + lib, + ... +}: + +{ + imports = [ ]; + + zramSwap = lib.mkDefault { + enable = true; + memoryPercent = 25; + }; + +}