From 58aea00097f60c17df4134848f40fade556e96f4 Mon Sep 17 00:00:00 2001 From: Michael Thomson Date: Sat, 29 Mar 2025 10:21:56 -0400 Subject: [PATCH] update thinkpad --- flake.lock | 36 +++++++++++++++---------------- modules/home-manager/hyprland.nix | 13 ++++++----- modules/nixos/hyprland.nix | 8 +++++-- 3 files changed, 30 insertions(+), 27 deletions(-) diff --git a/flake.lock b/flake.lock index 58fc4f7..e87e305 100644 --- a/flake.lock +++ b/flake.lock @@ -117,11 +117,11 @@ ] }, "locked": { - "lastModified": 1742996658, - "narHash": "sha256-snxgTLVq6ooaD3W3mPHu7LVWpoZKczhxHAUZy2ea4oA=", + "lastModified": 1743136572, + "narHash": "sha256-uwaVrKgi6g1TUq56247j6QvvFtYHloCkjCrEpGBvV54=", "owner": "nix-community", "repo": "home-manager", - "rev": "693840c01b9bef9e54100239cef937e53d4661bf", + "rev": "1efd2503172016a6742c87b47b43ca2c8145607d", "type": "github" }, "original": { @@ -204,11 +204,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1742989624, - "narHash": "sha256-qDyLM9A+dzG6ZRI4QjTL50+LPXQ2c9eLdzxcjgEgjzM=", + "lastModified": 1743207575, + "narHash": "sha256-bNz2WfcZAF6hZkcEcRYFsoh49wNAamphS+NOhSrf5A0=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "cec084c178de979621cb520aa4f74a40c96567f2", + "rev": "7374a023eff964817c9e5fbe75a661540516f798", "type": "github" }, "original": { @@ -454,11 +454,11 @@ ] }, "locked": { - "lastModified": 1742869675, - "narHash": "sha256-rgwUZJZVztaNYPTsf6MIqirPL5r2JTMMyHuzk1ezyYk=", + "lastModified": 1743221873, + "narHash": "sha256-i8VPNm4UBsC3Ni6VwjojVJvCpS9GZ4vPrpFRtCGJzBs=", "owner": "LnL7", "repo": "nix-darwin", - "rev": "bb81755a3674951724d79b8cba6bbff01409d44d", + "rev": "53d0f0ed11487a4476741fde757d0feabef4cc4e", "type": "github" }, "original": { @@ -520,11 +520,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1742806253, - "narHash": "sha256-zvQ4GsCJT6MTOzPKLmlFyM+lxo0JGQ0cSFaZSACmWfY=", + "lastModified": 1743167577, + "narHash": "sha256-I09SrXIO0UdyBFfh0fxDq5WnCDg8XKmZ1HQbaXzMA1k=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "ecaa2d911e77c265c2a5bac8b583c40b0f151726", + "rev": "0ed819e708af17bfc4bbc63ee080ef308a24aa42", "type": "github" }, "original": { @@ -584,11 +584,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1742889210, - "narHash": "sha256-hw63HnwnqU3ZQfsMclLhMvOezpM7RSB0dMAtD5/sOiw=", + "lastModified": 1743095683, + "narHash": "sha256-gWd4urRoLRe8GLVC/3rYRae1h+xfQzt09xOfb0PaHSk=", "owner": "nixos", "repo": "nixpkgs", - "rev": "698214a32beb4f4c8e3942372c694f40848b360d", + "rev": "5e5402ecbcb27af32284d4a62553c019a3a49ea6", "type": "github" }, "original": { @@ -607,11 +607,11 @@ "nuschtosSearch": "nuschtosSearch" }, "locked": { - "lastModified": 1742991302, - "narHash": "sha256-5S+qnc5ijgFWlAWS9+L7uAgpDnL0RtVEDhVpHWGoavA=", + "lastModified": 1743157969, + "narHash": "sha256-ldlSyVKNaXL7ys7Jr7mLhlpGDE4VPVcWmV7Odupn5TY=", "owner": "nix-community", "repo": "nixvim", - "rev": "1c0dd320d9c4f250ac33382e11d370b7abe97622", + "rev": "95573411bc9be155a93b0f15d2bad62c6b43b3cc", "type": "github" }, "original": { diff --git a/modules/home-manager/hyprland.nix b/modules/home-manager/hyprland.nix index eb91b2f..f518ab7 100644 --- a/modules/home-manager/hyprland.nix +++ b/modules/home-manager/hyprland.nix @@ -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; diff --git a/modules/nixos/hyprland.nix b/modules/nixos/hyprland.nix index 66af18a..417dd30 100644 --- a/modules/nixos/hyprland.nix +++ b/modules/nixos/hyprland.nix @@ -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";