diff --git a/flake.lock b/flake.lock index 10a0dcf..a8ab67b 100644 --- a/flake.lock +++ b/flake.lock @@ -205,11 +205,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1723415338, - "narHash": "sha256-K/BVeDLkpswRSBh3APxc2gBNVFEMXGpnkuQz666FiTM=", + "lastModified": 1725194671, + "narHash": "sha256-tLGCFEFTB5TaOKkpfw3iYT9dnk4awTP/q4w+ROpMfuw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "6e8760f7f7121128e2037db44915a4a5450b6e67", + "rev": "b833ff01a0d694b910daca6e2ff4a3f26dee478c", "type": "github" }, "original": { diff --git a/modules/gnome/nixos.nix b/modules/gnome/nixos.nix index bbafdde..bddb33c 100644 --- a/modules/gnome/nixos.nix +++ b/modules/gnome/nixos.nix @@ -22,19 +22,17 @@ in { environment.gnome.excludePackages = [ pkgs.gnome-backgrounds ]; nixpkgs.overlays = [(self: super: { - gnome = super.gnome.overrideScope (gnomeSelf: gnomeSuper: { - gnome-shell = gnomeSuper.gnome-shell.overrideAttrs (oldAttrs: { - # Themes are usually applied via an extension, but extensions are - # not available on the login screen. The only way to change the - # theme there is by replacing the default. - postFixup = (oldAttrs.postFixup or "") + '' - cp ${theme}/share/gnome-shell/gnome-shell-theme.gresource \ - $out/share/gnome-shell/gnome-shell-theme.gresource - ''; - patches = (oldAttrs.patches or []) ++ [ - ./shell_remove_dark_mode.patch - ]; - }); + gnome-shell = super.gnome-shell.overrideAttrs (oldAttrs: { + # Themes are usually applied via an extension, but extensions are + # not available on the login screen. The only way to change the + # theme there is by replacing the default. + postFixup = (oldAttrs.postFixup or "") + '' + cp ${theme}/share/gnome-shell/gnome-shell-theme.gresource \ + $out/share/gnome-shell/gnome-shell-theme.gresource + ''; + patches = (oldAttrs.patches or []) ++ [ + ./shell_remove_dark_mode.patch + ]; }); })];