update thinkpad

This commit is contained in:
2025-03-29 10:21:56 -04:00
parent 701d4ca96a
commit 58aea00097
3 changed files with 30 additions and 27 deletions

View File

@@ -5,13 +5,12 @@ inputs,
}: {
wayland.windowManager.hyprland = {
enable = true;
enable = false;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
settings = {
monitor = [
"DP-1,1920x1080,0x0,1"
"HDMI-A-1,1920x1080,1920x0,1"
"eDP-1,1920x1080@60,0x0,1.00"
];
exec-once = [
"waybar"
@@ -29,8 +28,8 @@ inputs,
"$terminal" = "kitty";
"$menu" = "wofi --show drun";
general = {
gaps_in = 5;
gaps_out = 20;
gaps_in = 0;
gaps_out = 0;
border_size = 2;
@@ -47,8 +46,8 @@ inputs,
layout = "dwindle";
};
decoration = {
rounding = 10;
rounding_power = 2;
rounding = 0;
rounding_power = 0;
# Change transparency of focused and unfocused windows
active_opacity = 1.0;

View File

@@ -1,14 +1,18 @@
{ pkgs, inputs, ... }:
{
nix.settings = {
substituters = ["https://hyprland.cachix.org"];
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
};
programs = {
hyprland = {
enable = true;
enable = false;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
thunar = {
enable = true;
enable = false;
};
};
environment.sessionVariables.NIXOS_OZONE_WL = "1";