update thinkpad

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

36
flake.lock generated
View File

@ -117,11 +117,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1742996658, "lastModified": 1743136572,
"narHash": "sha256-snxgTLVq6ooaD3W3mPHu7LVWpoZKczhxHAUZy2ea4oA=", "narHash": "sha256-uwaVrKgi6g1TUq56247j6QvvFtYHloCkjCrEpGBvV54=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "693840c01b9bef9e54100239cef937e53d4661bf", "rev": "1efd2503172016a6742c87b47b43ca2c8145607d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -204,11 +204,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1742989624, "lastModified": 1743207575,
"narHash": "sha256-qDyLM9A+dzG6ZRI4QjTL50+LPXQ2c9eLdzxcjgEgjzM=", "narHash": "sha256-bNz2WfcZAF6hZkcEcRYFsoh49wNAamphS+NOhSrf5A0=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "cec084c178de979621cb520aa4f74a40c96567f2", "rev": "7374a023eff964817c9e5fbe75a661540516f798",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -454,11 +454,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1742869675, "lastModified": 1743221873,
"narHash": "sha256-rgwUZJZVztaNYPTsf6MIqirPL5r2JTMMyHuzk1ezyYk=", "narHash": "sha256-i8VPNm4UBsC3Ni6VwjojVJvCpS9GZ4vPrpFRtCGJzBs=",
"owner": "LnL7", "owner": "LnL7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "bb81755a3674951724d79b8cba6bbff01409d44d", "rev": "53d0f0ed11487a4476741fde757d0feabef4cc4e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -520,11 +520,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1742806253, "lastModified": 1743167577,
"narHash": "sha256-zvQ4GsCJT6MTOzPKLmlFyM+lxo0JGQ0cSFaZSACmWfY=", "narHash": "sha256-I09SrXIO0UdyBFfh0fxDq5WnCDg8XKmZ1HQbaXzMA1k=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "ecaa2d911e77c265c2a5bac8b583c40b0f151726", "rev": "0ed819e708af17bfc4bbc63ee080ef308a24aa42",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -584,11 +584,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1742889210, "lastModified": 1743095683,
"narHash": "sha256-hw63HnwnqU3ZQfsMclLhMvOezpM7RSB0dMAtD5/sOiw=", "narHash": "sha256-gWd4urRoLRe8GLVC/3rYRae1h+xfQzt09xOfb0PaHSk=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "698214a32beb4f4c8e3942372c694f40848b360d", "rev": "5e5402ecbcb27af32284d4a62553c019a3a49ea6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -607,11 +607,11 @@
"nuschtosSearch": "nuschtosSearch" "nuschtosSearch": "nuschtosSearch"
}, },
"locked": { "locked": {
"lastModified": 1742991302, "lastModified": 1743157969,
"narHash": "sha256-5S+qnc5ijgFWlAWS9+L7uAgpDnL0RtVEDhVpHWGoavA=", "narHash": "sha256-ldlSyVKNaXL7ys7Jr7mLhlpGDE4VPVcWmV7Odupn5TY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "1c0dd320d9c4f250ac33382e11d370b7abe97622", "rev": "95573411bc9be155a93b0f15d2bad62c6b43b3cc",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

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

View File

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