fix: stability

This commit is contained in:
2025-08-22 12:39:18 +02:00
parent 478e292f8b
commit 607c70312e
6 changed files with 43 additions and 5 deletions

View File

@@ -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

View File

@@ -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$"#

View File

@@ -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";

View File

@@ -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
];
};

13
modules/tailscale.nix Normal file
View File

@@ -0,0 +1,13 @@
{
config,
pkgs,
lib,
...
}:
{
imports = [ ];
services.tailscale.enable = true;
}

16
modules/zram.nix Normal file
View File

@@ -0,0 +1,16 @@
{
config,
pkgs,
lib,
...
}:
{
imports = [ ];
zramSwap = lib.mkDefault {
enable = true;
memoryPercent = 25;
};
}