mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-06-25 22:41:54 +02:00
Changing to and testing new sddm theme derivation
This commit is contained in:
parent
6193962b38
commit
83b535e171
@ -5,7 +5,8 @@
|
|||||||
home.file.".config/zaney-stinger.mov".source = ./files/media/zaney-stinger.mov;
|
home.file.".config/zaney-stinger.mov".source = ./files/media/zaney-stinger.mov;
|
||||||
home.file.".emoji".source = ./files/emoji;
|
home.file.".emoji".source = ./files/emoji;
|
||||||
home.file.".base16-themes".source = ./files/base16-themes;
|
home.file.".base16-themes".source = ./files/base16-themes;
|
||||||
home.file.".face".source = ./files/face.jpg;
|
home.file.".face".source = ./files/face.jpg; # For GDM
|
||||||
|
home.file.".face.icon".source = ./files/face.jpg; # For SDDM
|
||||||
home.file.".config/rofi/rofi.jpg".source = ./files/rofi.jpg;
|
home.file.".config/rofi/rofi.jpg".source = ./files/rofi.jpg;
|
||||||
home.file.".config/starship.toml".source = ./files/starship.toml;
|
home.file.".config/starship.toml".source = ./files/starship.toml;
|
||||||
home.file.".local/share/fonts" = {
|
home.file.".local/share/fonts" = {
|
||||||
|
33
config/pkgs/sddm-tokyo-night.nix
Normal file
33
config/pkgs/sddm-tokyo-night.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ lib, qtbase, qtsvg
|
||||||
|
, qtgraphicaleffects
|
||||||
|
, qtquickcontrols2
|
||||||
|
, wrapQtAppsHook
|
||||||
|
, stdenvNoCC
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
stdenvNoCC.mkDerivation rec {
|
||||||
|
pname = "tokyo-night-sddm";
|
||||||
|
version = "1..0";
|
||||||
|
dontBuild = true;
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "rototrash";
|
||||||
|
repo = "tokyo-night-sddm";
|
||||||
|
rev = "320c8e74ade1e94f640708eee0b9a75a395697c6";
|
||||||
|
sha256 = "sha256-JRVVzyefqR2L3UrEK2iWyhUKfPMUNUnfRZmwdz05wL0=";
|
||||||
|
};
|
||||||
|
nativeBuildInputs = [
|
||||||
|
wrapQtAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedUserEnvPkgs = [
|
||||||
|
qtbase
|
||||||
|
qtsvg
|
||||||
|
qtgraphicaleffects
|
||||||
|
qtquickcontrols2
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/share/sddm/themes
|
||||||
|
cp -aR $src $out/share/sddm/themes/tokyo-night-sddm
|
||||||
|
'';
|
||||||
|
}
|
@ -10,11 +10,17 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
autoNumlock = true;
|
autoNumlock = true;
|
||||||
wayland.enable = true;
|
wayland.enable = true;
|
||||||
theme = "sugar-dark";
|
theme = "tokyo-night-sddm";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = let themes = pkgs.callPackage ../pkgs/sddm-sugar-dark.nix {}; in [
|
environment.systemPackages =
|
||||||
themes.sddm-sugar-dark
|
let
|
||||||
|
sugar = pkgs.callPackage ../pkgs/sddm-sugar-dark.nix {};
|
||||||
|
tokyo-night = pkgs.libsForQt5.callPackage ../pkgs/sddm-tokyo-night.nix {};
|
||||||
|
in [
|
||||||
|
sugar.sddm-sugar-dark # Name: sugar-dark
|
||||||
|
tokyo-night # Name: tokyo-night-sddm
|
||||||
|
pkgs.libsForQt5.qt5.qtgraphicaleffects
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user