chore: update flake.lock with latest revisions and narHashes

feat(hyprland): enable direct_scanout and set bitdepth to 10

fix(hyprpaper): conditionally enable based on 'ryu' device

fix(wallpaperengine): add shorthand flag for scaling option

feat(ryu): switch to open NVIDIA driver and use latest package
This commit is contained in:
uttarayan21
2025-10-22 03:03:51 +05:30
parent 5a04c53801
commit d1980ac0ae
5 changed files with 23 additions and 21 deletions

18
flake.lock generated
View File

@@ -1787,11 +1787,11 @@
"ik_llama": { "ik_llama": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1761023568, "lastModified": 1761046190,
"narHash": "sha256-cIHz/S14XzefFGUUF94NrEKaNx5jZX4U08Mm/Rv3Z6I=", "narHash": "sha256-kDujswCMCC4YSgJ5d/KHmRviBLBfAoB4DwOsfTUZEHo=",
"owner": "ikawrakow", "owner": "ikawrakow",
"repo": "ik_llama.cpp", "repo": "ik_llama.cpp",
"rev": "f5571e241e6e2624db19259608e099dca9f522a5", "rev": "caf9759c9793965591c8ab626c763d4bcb150677",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -2297,11 +2297,11 @@
}, },
"nixpkgs-master": { "nixpkgs-master": {
"locked": { "locked": {
"lastModified": 1761029815, "lastModified": 1761059842,
"narHash": "sha256-oGHKbmi0DbpAvXH2IjqEPvlht6dw9SKZKYENRBD5DNc=", "narHash": "sha256-8lTvs2qVqRmBYzDdEk05QnA/YD46cFmsJ2quLOOTrdU=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d87cd3504be6a641c4b95fd3ef0ef5cf996c3d18", "rev": "94e6ba8aabc211872ab51d9dbb47c2af1598dbc9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -2592,11 +2592,11 @@
"nixpkgs": "nixpkgs_12" "nixpkgs": "nixpkgs_12"
}, },
"locked": { "locked": {
"lastModified": 1761019869, "lastModified": 1761057802,
"narHash": "sha256-ieaO94BvvJR54LYFyCJB1LB4nBt9ls4TtgXBdXENHCE=", "narHash": "sha256-I+/6oqGFCzLBho6IDJaePJyTb2Pk0MSkE5h6rXZRuks=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nur", "repo": "nur",
"rev": "62c5aee56c07b4536f87d2a1dc1a9439ed577dc1", "rev": "e0ebb94b9c8b636b877bc038ec936f1c942d8f65",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -34,6 +34,7 @@
settings = { settings = {
source = "${pkgs.catppuccinThemes.hyprland}/themes/mocha.conf"; source = "${pkgs.catppuccinThemes.hyprland}/themes/mocha.conf";
render = { render = {
direct_scanout = true;
cm_fs_passthrough = 1; cm_fs_passthrough = 1;
cm_auto_hdr = 1; cm_auto_hdr = 1;
}; };
@@ -49,7 +50,7 @@
transform = 0; transform = 0;
supports_wide_color = 1; supports_wide_color = 1;
supports_hdr = 1; supports_hdr = 1;
# bitdepth = 10; bitdepth = 10;
# cm = "hdr"; # cm = "hdr";
# sdrbrightness = 0.005; # sdrbrightness = 0.005;
# sdrsaturation = 200; # sdrsaturation = 200;

View File

@@ -12,7 +12,7 @@
nextcloudWallpapers = name: config.home.homeDirectory + "/Nextcloud/Wallpapers/" + name; nextcloudWallpapers = name: config.home.homeDirectory + "/Nextcloud/Wallpapers/" + name;
silksongFleas = nextcloudWallpapers "silksong-fleas.jpg"; silksongFleas = nextcloudWallpapers "silksong-fleas.jpg";
in { in {
enable = true; enable = device.is "ryu";
systemd.enable = true; systemd.enable = true;
systemd.target = "hyprland-session.target"; systemd.target = "hyprland-session.target";
settings.preload = settings.preload =

View File

@@ -19,7 +19,7 @@ lib.mkIf (device.is "ryu") {
]; ];
Type = "simple"; Type = "simple";
ExecStartPre = "${pkgs.coreutils}/bin/sleep 3"; ExecStartPre = "${pkgs.coreutils}/bin/sleep 3";
ExecStart = "${pkgs.linux-wallpaperengine}/bin/linux-wallpaperengine --scaling fill --screen-root HDMI-A-1 --bg 2780316434"; ExecStart = "${pkgs.linux-wallpaperengine}/bin/linux-wallpaperengine -s --scaling fill --screen-root HDMI-A-1 --bg 2780316434";
Restart = "on-failure"; Restart = "on-failure";
RestartSec = 5; RestartSec = 5;
TimeoutStartSec = 30; TimeoutStartSec = 30;

View File

@@ -24,19 +24,20 @@
]; ];
}; };
nvidia = { nvidia = {
open = false; open = true;
modesetting.enable = true; modesetting.enable = true;
powerManagement.enable = true; powerManagement.enable = true;
powerManagement.finegrained = false; powerManagement.finegrained = false;
nvidiaSettings = true; nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.mkDriver { # package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
version = "575.64.05"; # version = "575.64.05";
sha256_64bit = "sha256-hfK1D5EiYcGRegss9+H5dDr/0Aj9wPIJ9NVWP3dNUC0="; # sha256_64bit = "sha256-hfK1D5EiYcGRegss9+H5dDr/0Aj9wPIJ9NVWP3dNUC0=";
sha256_aarch64 = "sha256-GRE9VEEosbY7TL4HPFoyo0Ac5jgBHsZg9sBKJ4BLhsA="; # sha256_aarch64 = "sha256-GRE9VEEosbY7TL4HPFoyo0Ac5jgBHsZg9sBKJ4BLhsA=";
openSha256 = "sha256-mcbMVEyRxNyRrohgwWNylu45vIqF+flKHnmt47R//KU="; # openSha256 = "sha256-mcbMVEyRxNyRrohgwWNylu45vIqF+flKHnmt47R//KU=";
settingsSha256 = "sha256-o2zUnYFUQjHOcCrB0w/4L6xI1hVUXLAWgG2Y26BowBE="; # settingsSha256 = "sha256-o2zUnYFUQjHOcCrB0w/4L6xI1hVUXLAWgG2Y26BowBE=";
persistencedSha256 = "sha256-2g5z7Pu8u2EiAh5givP5Q1Y4zk4Cbb06W37rf768NFU="; # persistencedSha256 = "sha256-2g5z7Pu8u2EiAh5givP5Q1Y4zk4Cbb06W37rf768NFU=";
}; # };
package = config.boot.kernelPackages.nvidiaPackages.latest;
}; };
cpu.intel.updateMicrocode = cpu.intel.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware; lib.mkDefault config.hardware.enableRedistributableFirmware;