fix: stability
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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$"#
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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
13
modules/tailscale.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
}
|
||||
16
modules/zram.nix
Normal file
16
modules/zram.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
zramSwap = lib.mkDefault {
|
||||
enable = true;
|
||||
memoryPercent = 25;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user