parent
ccca01b5b0
commit
a2d8d6b460
5 changed files with 79 additions and 48 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, config, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
colors = config.lib.stylix.colors {
|
||||
|
|
@ -8,15 +8,7 @@ let
|
|||
|
||||
in pkgs.stdenv.mkDerivation {
|
||||
name = "${config.lib.stylix.colors.slug}-gnome-shell-theme";
|
||||
|
||||
src = pkgs.fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
owner = "GNOME";
|
||||
repo = "gnome-shell";
|
||||
rev = "45.1";
|
||||
sha256 = "/TIkZ8y5Wv3QHLFp79Poao9fINurKs5pa4z0CRe+F8s=";
|
||||
};
|
||||
|
||||
src = config.lib.stylix.templates.gnome-shell;
|
||||
patches = [ ./shell_colors.patch ];
|
||||
postPatch = ''
|
||||
rm data/theme/gnome-shell-sass/{_colors.scss,_palette.scss}
|
||||
|
|
|
|||
|
|
@ -59,6 +59,10 @@ in {
|
|||
description = mdDoc "Logo to be used on the boot screen.";
|
||||
type = with types; either path package;
|
||||
defaultText = literalMD "NixOS logo";
|
||||
|
||||
# Considering that Flake inputs are currently unable to fetch individual
|
||||
# files, the SVG file is fetched with `pkgs.fetchurl` to avoid downloading
|
||||
# the entire repository for a single SVG file.
|
||||
default = pkgs.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/NixOS/nixos-artwork/master/logo/nix-snowflake.svg";
|
||||
# Reduce size
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue