refactor(overlays): move regreet and clean up dracula-theme
This commit is contained in:
parent
b04e6e5ab9
commit
13f0062331
5 changed files with 66 additions and 72 deletions
|
@ -3,12 +3,8 @@
|
|||
nixpkgs-wayland,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./dracula-theme
|
||||
./regreet
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(import ./dracula-theme)
|
||||
(import ./spotifywm)
|
||||
(import ./squeekboard)
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{pkgs, ...}: let
|
||||
plymouth = pkgs.fetchFromGitHub {
|
||||
(final: prev: {
|
||||
dracula-theme = prev.dracula-theme.overrideAttrs (oldAttrs: let
|
||||
plymouth = prev.fetchFromGitHub {
|
||||
owner = "dracula";
|
||||
repo = "plymouth";
|
||||
rev = "37aa09b27ecee4a825b43d2c1d20b502e8f19c96";
|
||||
|
@ -8,21 +9,18 @@
|
|||
|
||||
dracula-script = ./dracula-plymouth.patch;
|
||||
|
||||
git-colors = pkgs.fetchFromGitHub {
|
||||
git-colors = prev.fetchFromGitHub {
|
||||
owner = "dracula";
|
||||
repo = "git";
|
||||
rev = "924d5fc32f7ca15d0dd3a8d2cf1747e81e063c73";
|
||||
hash = "sha256-3tKjKn5IHIByj+xgi2AIL1vZANlb0vlYJsPjH6BHGxM=";
|
||||
};
|
||||
|
||||
wallpaper = pkgs.fetchurl {
|
||||
wallpaper = prev.fetchurl {
|
||||
url = "https://github.com/aynp/dracula-wallpapers/blob/main/Art/4k/Waves%201.png?raw=true";
|
||||
hash = "sha256-f9FwSOSvqTeDj4bOjYUQ6TM+/carCD9o5dhg/MnP/lk=";
|
||||
};
|
||||
in {
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
dracula-theme = prev.dracula-theme.overrideAttrs (oldAttrs: {
|
||||
in {
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "dracula";
|
||||
repo = "gtk";
|
||||
|
@ -82,6 +80,4 @@ in {
|
|||
runHook postInstall
|
||||
'';
|
||||
});
|
||||
})
|
||||
];
|
||||
}
|
||||
})
|
||||
|
|
|
@ -71,6 +71,8 @@
|
|||
" ${hyprBin}/hyprctl dispatch exit"
|
||||
]));
|
||||
in {
|
||||
imports = [./regreet.nix];
|
||||
|
||||
users.users.greeter = {
|
||||
packages = with pkgs; [
|
||||
dracula-theme
|
||||
|
|
Loading…
Reference in a new issue