From d8a6a56f6e7f94ce5f549e481a3716eebc20b17a Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Mon, 5 Jan 2026 17:35:56 +0100 Subject: [PATCH] update flake --- flake.lock | 117 +++++++++++++------- home-manager/hyprland/hyprland-settings.nix | 30 ++++- home-manager/stylix.nix | 1 + 3 files changed, 102 insertions(+), 46 deletions(-) diff --git a/flake.lock b/flake.lock index 08d3b14..719d92a 100644 --- a/flake.lock +++ b/flake.lock @@ -46,17 +46,17 @@ "base16-fish": { "flake": false, "locked": { - "lastModified": 1754405784, - "narHash": "sha256-l9xHIy+85FN+bEo6yquq2IjD1rSg9fjfjpyGP1W8YXo=", + "lastModified": 1765809053, + "narHash": "sha256-XCUQLoLfBJ8saWms2HCIj4NEN+xNsWBlU1NrEPcQG4s=", "owner": "tomyun", "repo": "base16-fish", - "rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561", + "rev": "86cbea4dca62e08fb7fd83a70e96472f92574782", "type": "github" }, "original": { "owner": "tomyun", "repo": "base16-fish", - "rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561", + "rev": "86cbea4dca62e08fb7fd83a70e96472f92574782", "type": "github" } }, @@ -122,11 +122,11 @@ ] }, "locked": { - "lastModified": 1764627417, - "narHash": "sha256-D6xc3Rl8Ab6wucJWdvjNsGYGSxNjQHzRc2EZ6eeQ6l4=", + "lastModified": 1766150702, + "narHash": "sha256-P0kM+5o+DKnB6raXgFEk3azw8Wqg5FL6wyl9jD+G5a4=", "owner": "nix-community", "repo": "disko", - "rev": "5a88a6eceb8fd732b983e72b732f6f4b8269bef3", + "rev": "916506443ecd0d0b4a0f4cf9d40a3c22ce39b378", "type": "github" }, "original": { @@ -173,11 +173,11 @@ ] }, "locked": { - "lastModified": 1763759067, - "narHash": "sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q=", + "lastModified": 1765835352, + "narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "2cccadc7357c0ba201788ae99c4dfa90728ef5e0", + "rev": "a34fae9c08a15ad73f295041fec82323541400a9", "type": "github" }, "original": { @@ -309,11 +309,11 @@ ] }, "locked": { - "lastModified": 1764866045, - "narHash": "sha256-0GsEtXV9OquDQ1VclQfP16cU5VZh7NEVIOjSH4UaJuM=", + "lastModified": 1767514898, + "narHash": "sha256-ONYqnKrPzfKEEPChoJ9qPcfvBqW9ZgieDKD7UezWPg4=", "owner": "nix-community", "repo": "home-manager", - "rev": "f63d0fe9d81d36e5fc95497217a72e02b8b7bcab", + "rev": "7a06e8a2f844e128d3b210a000a62716b6040b7f", "type": "github" }, "original": { @@ -330,11 +330,11 @@ ] }, "locked": { - "lastModified": 1764998300, - "narHash": "sha256-fZatn/KLfHLDXnF0wy7JxXqGaZmGDTVufT4o/AOlj44=", + "lastModified": 1767606757, + "narHash": "sha256-lCl9QyHHHG/lKkpZu9nhJ5ri30FUD66VWNMJp167wPY=", "owner": "nix-community", "repo": "home-manager", - "rev": "27a6182347ccae90a88231ae0dc5dfa7d15815bb", + "rev": "c4eabb884b01366f25c3f80823b12dd595ed603a", "type": "github" }, "original": { @@ -346,11 +346,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1764440730, - "narHash": "sha256-ZlJTNLUKQRANlLDomuRWLBCH5792x+6XUJ4YdFRjtO4=", + "lastModified": 1767185284, + "narHash": "sha256-ljDBUDpD1Cg5n3mJI81Hz5qeZAwCGxon4kQW3Ho3+6Q=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "9154f4569b6cdfd3c595851a6ba51bfaa472d9f3", + "rev": "40b1a28dce561bea34858287fbb23052c3ee63fe", "type": "github" }, "original": { @@ -362,11 +362,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1764831616, - "narHash": "sha256-OtzF5wBvO0jgW1WW1rQU9cMGx7zuvkF7CAVJ1ypzkxA=", + "lastModified": 1767480499, + "narHash": "sha256-8IQQUorUGiSmFaPnLSo2+T+rjHtiNWc+OAzeHck7N48=", "owner": "nixos", "repo": "nixpkgs", - "rev": "c97c47f2bac4fa59e2cbdeba289686ae615f8ed4", + "rev": "30a3c519afcf3f99e2c6df3b359aec5692054d92", "type": "github" }, "original": { @@ -378,11 +378,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1764950072, - "narHash": "sha256-BmPWzogsG2GsXZtlT+MTcAWeDK5hkbGRZTeZNW42fwA=", + "lastModified": 1767379071, + "narHash": "sha256-EgE0pxsrW9jp9YFMkHL9JMXxcqi/OoumPJYwf+Okucw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "f61125a668a320878494449750330ca58b78c557", + "rev": "fb7944c166a3b630f177938e478f0378e64ce108", "type": "github" }, "original": { @@ -413,15 +413,16 @@ "flake-compat": "flake-compat", "flake-utils": "flake-utils_2", "nixpkgs": "nixpkgs_2", + "nvfetcher": "nvfetcher", "systems": "systems_3", "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1764984503, - "narHash": "sha256-bNZ1zhrRHFKOVzBa+6pN7bAAsm6fgtS9lSe6EPgwJLE=", + "lastModified": 1767607390, + "narHash": "sha256-qr4vZ37qdVltyc8ccZxMsnvRRjnzm4Lv5iGUvFeiVQg=", "owner": "nix-community", "repo": "nixpkgs-xr", - "rev": "a38ae14708259014f2f1bd82d248e835bc4115a8", + "rev": "68c7a8927e4a38705454d8a44a71559f2a871329", "type": "github" }, "original": { @@ -432,11 +433,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1764667669, - "narHash": "sha256-7WUCZfmqLAssbDqwg9cUDAXrSoXN79eEEq17qhTNM/Y=", + "lastModified": 1767379071, + "narHash": "sha256-EgE0pxsrW9jp9YFMkHL9JMXxcqi/OoumPJYwf+Okucw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "418468ac9527e799809c900eda37cbff999199b6", + "rev": "fb7944c166a3b630f177938e478f0378e64ce108", "type": "github" }, "original": { @@ -455,11 +456,11 @@ "systems": "systems_4" }, "locked": { - "lastModified": 1764942275, - "narHash": "sha256-ilPl/NCTxabL4kL+hpK6slcTdrqfr0KfyFrRjQt+sps=", + "lastModified": 1767608728, + "narHash": "sha256-kmSJCTgrx+BxgqQOTPHAOkohvO+lbRsPWqu+PSPcz3I=", "owner": "nix-community", "repo": "nixvim", - "rev": "812d7e639d0be7b0ed5aa50990ce0028a43215c8", + "rev": "851399eebd0fb383d2fd76269d859f16021dc7a8", "type": "github" }, "original": { @@ -476,11 +477,11 @@ ] }, "locked": { - "lastModified": 1765023368, - "narHash": "sha256-zZ8jobDUQ4J4Re0YDG3uOs5ytCLoaK+Qkfu0Xh1Ig/c=", + "lastModified": 1767602452, + "narHash": "sha256-dtAvNihXmUiFC4npKNByp7UwW8hILrCzcc0ZnzejWgw=", "owner": "nix-community", "repo": "NUR", - "rev": "f3bb1d41392c54476aa8669fd997860305bc3dcc", + "rev": "af0cd55eba4021bf93701eeab00e86018fb7aaf5", "type": "github" }, "original": { @@ -514,6 +515,36 @@ "type": "github" } }, + "nvfetcher": { + "inputs": { + "flake-compat": [ + "nixpkgs-xr", + "flake-compat" + ], + "flake-utils": [ + "nixpkgs-xr", + "flake-utils" + ], + "nixpkgs": [ + "nixpkgs-xr", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1766178214, + "narHash": "sha256-tKDXreDwrRkdjvfot5fr1++ed6oOq3+/hW/Dj8WfTgs=", + "owner": "Red-M", + "repo": "nvfetcher", + "rev": "a84b3ce67f1d7acd85b3aa2b9967ab91ed6e7a71", + "type": "github" + }, + "original": { + "owner": "Red-M", + "repo": "nvfetcher", + "rev": "a84b3ce67f1d7acd85b3aa2b9967ab91ed6e7a71", + "type": "github" + } + }, "root": { "inputs": { "agenix": "agenix", @@ -552,11 +583,11 @@ "tinted-zed": "tinted-zed" }, "locked": { - "lastModified": 1764979509, - "narHash": "sha256-n68Io6VWMbUX4857RHqGOfH9MDdta7EX6OYn8e/m8sI=", + "lastModified": 1767559556, + "narHash": "sha256-Pf1d9Hh9UUQ/oS+evq6dU0MiaDczXXNztTlQekaMbW0=", "owner": "danth", "repo": "stylix", - "rev": "3a332459f45b16c6df9d788e923f293a4c28d793", + "rev": "b135edbdd403896d1ef507934c045f716deb5609", "type": "github" }, "original": { @@ -729,11 +760,11 @@ ] }, "locked": { - "lastModified": 1762938485, - "narHash": "sha256-AlEObg0syDl+Spi4LsZIBrjw+snSVU4T8MOeuZJUJjM=", + "lastModified": 1767468822, + "narHash": "sha256-MpffQxHxmjVKMiQd0Tg2IM/bSjjdQAM+NDcX6yxj7rE=", "owner": "numtide", "repo": "treefmt-nix", - "rev": "5b4ee75aeefd1e2d5a1cc43cf6ba65eba75e83e4", + "rev": "d56486eb9493ad9c4777c65932618e9c2d0468fc", "type": "github" }, "original": { diff --git a/home-manager/hyprland/hyprland-settings.nix b/home-manager/hyprland/hyprland-settings.nix index 8a6dd00..7563b77 100644 --- a/home-manager/hyprland/hyprland-settings.nix +++ b/home-manager/hyprland/hyprland-settings.nix @@ -38,6 +38,13 @@ in services.hyprpaper.enable = true; home.packages = [ hyprlandFixLockscreen ]; home.file.".config/hypr/monitor-config.js".source = ../../.config/hypr/monitor-config.js; + home.file.".config/hypr/hyprpaper.conf".source = pkgs.writeText "hyprpaper.conf" '' + wallpaper { + monitor = + path = ${config.stylix.image} + fit_mode = cover + } + ''; wayland.windowManager.hyprland = { enable = true; #enableNvidiaPatches = true; @@ -355,9 +362,26 @@ in ]; windowrule = [ - "float, class:zenity" - "center, class:zenity" - "workspace 1, class:steam_app_.*" + "float on, match:class zenity" + "center on, match:class zenity" + "workspace 1, match:class steam_app_.*" + # Fix splash screen showing in weird places and prevent annoying focus takeovers + #"tag +jetbrains-splash, class:^(jetbrains-.*)$, title:^(splash)$, floating:1" + #"center, tag:jetbrains-splash" + #"nofocus, tag:jetbrains-splash" + #"noborder, tag:jetbrains-splash" + ## Center popups/find windows + #"tag +jetbrains, class:^(jetbrains-.*), title:^()$, floating:1" + #"center, tag:jetbrains" + ## Enabling this makes it possible to provide input in popup dialogs (search window, new file, etc.) + #"stayfocused, tag:jetbrains" + #"noborder, tag:jetbrains" + ## For some reason tag:jetbrains does not work for size rule + #"size >50% >50%, class:^(jetbrains-.*), title:^()$, floating:1" + ## Disable window flicker when autocomplete or tooltips appear + #"noinitialfocus, class:^(jetbrains-.*)$, title:^(win.*)$, floating:1" + ## Disable mouse focus + #"nofollowmouse, class:^(jetbrains-.*)$" ]; windowrulev2 = [ #"center, class:jetbrains-idea" diff --git a/home-manager/stylix.nix b/home-manager/stylix.nix index 65d3a24..54f7f2e 100644 --- a/home-manager/stylix.nix +++ b/home-manager/stylix.nix @@ -16,6 +16,7 @@ in targets = { hyprlock.enable = true; hyprland.enable = false; + hyprpaper.enable = false; waybar = { enable = true; addCss = false;