Skip to content

Commit d1980ac

Browse files
committed
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
1 parent 5a04c53 commit d1980ac

File tree

5 files changed

+23
-21
lines changed

5 files changed

+23
-21
lines changed

flake.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

home/services/hyprland.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
settings = {
3535
source = "${pkgs.catppuccinThemes.hyprland}/themes/mocha.conf";
3636
render = {
37+
direct_scanout = true;
3738
cm_fs_passthrough = 1;
3839
cm_auto_hdr = 1;
3940
};
@@ -49,7 +50,7 @@
4950
transform = 0;
5051
supports_wide_color = 1;
5152
supports_hdr = 1;
52-
# bitdepth = 10;
53+
bitdepth = 10;
5354
# cm = "hdr";
5455
# sdrbrightness = 0.005;
5556
# sdrsaturation = 200;

home/services/hyprpaper.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
nextcloudWallpapers = name: config.home.homeDirectory + "/Nextcloud/Wallpapers/" + name;
1313
silksongFleas = nextcloudWallpapers "silksong-fleas.jpg";
1414
in {
15-
enable = true;
15+
enable = device.is "ryu";
1616
systemd.enable = true;
1717
systemd.target = "hyprland-session.target";
1818
settings.preload =

home/services/wallpaperengine.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ lib.mkIf (device.is "ryu") {
1919
];
2020
Type = "simple";
2121
ExecStartPre = "${pkgs.coreutils}/bin/sleep 3";
22-
ExecStart = "${pkgs.linux-wallpaperengine}/bin/linux-wallpaperengine --scaling fill --screen-root HDMI-A-1 --bg 2780316434";
22+
ExecStart = "${pkgs.linux-wallpaperengine}/bin/linux-wallpaperengine -s --scaling fill --screen-root HDMI-A-1 --bg 2780316434";
2323
Restart = "on-failure";
2424
RestartSec = 5;
2525
TimeoutStartSec = 30;

nixos/ryu/ryu.nix

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,20 @@
2424
];
2525
};
2626
nvidia = {
27-
open = false;
27+
open = true;
2828
modesetting.enable = true;
2929
powerManagement.enable = true;
3030
powerManagement.finegrained = false;
3131
nvidiaSettings = true;
32-
package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
33-
version = "575.64.05";
34-
sha256_64bit = "sha256-hfK1D5EiYcGRegss9+H5dDr/0Aj9wPIJ9NVWP3dNUC0=";
35-
sha256_aarch64 = "sha256-GRE9VEEosbY7TL4HPFoyo0Ac5jgBHsZg9sBKJ4BLhsA=";
36-
openSha256 = "sha256-mcbMVEyRxNyRrohgwWNylu45vIqF+flKHnmt47R//KU=";
37-
settingsSha256 = "sha256-o2zUnYFUQjHOcCrB0w/4L6xI1hVUXLAWgG2Y26BowBE=";
38-
persistencedSha256 = "sha256-2g5z7Pu8u2EiAh5givP5Q1Y4zk4Cbb06W37rf768NFU=";
39-
};
32+
# package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
33+
# version = "575.64.05";
34+
# sha256_64bit = "sha256-hfK1D5EiYcGRegss9+H5dDr/0Aj9wPIJ9NVWP3dNUC0=";
35+
# sha256_aarch64 = "sha256-GRE9VEEosbY7TL4HPFoyo0Ac5jgBHsZg9sBKJ4BLhsA=";
36+
# openSha256 = "sha256-mcbMVEyRxNyRrohgwWNylu45vIqF+flKHnmt47R//KU=";
37+
# settingsSha256 = "sha256-o2zUnYFUQjHOcCrB0w/4L6xI1hVUXLAWgG2Y26BowBE=";
38+
# persistencedSha256 = "sha256-2g5z7Pu8u2EiAh5givP5Q1Y4zk4Cbb06W37rf768NFU=";
39+
# };
40+
package = config.boot.kernelPackages.nvidiaPackages.latest;
4041
};
4142
cpu.intel.updateMicrocode =
4243
lib.mkDefault config.hardware.enableRedistributableFirmware;

0 commit comments

Comments
 (0)