sddm: use catppuccin-sddm instead
This commit is contained in:
parent
820e36632a
commit
328e263dc3
12
nixos.nix
12
nixos.nix
|
@ -255,7 +255,8 @@ in
|
|||
services.displayManager.sddm = {
|
||||
enable = true;
|
||||
wayland.enable = true;
|
||||
theme = "${import ./theming/sddm { inherit pkgs; }}";
|
||||
theme = "catppuccin-frappe";
|
||||
package = pkgs.kdePackages.sddm;
|
||||
};
|
||||
|
||||
# Enable Hyprland
|
||||
|
@ -396,6 +397,15 @@ in
|
|||
wl-clipboard
|
||||
xclip
|
||||
zoxide
|
||||
(catppuccin-sddm.override # So SDDM finds the theme files.
|
||||
{
|
||||
flavor = "frappe";
|
||||
font = "FantasqueSansM Nerd Font";
|
||||
fontSize = "12";
|
||||
background = "${./theming/sddm/Background.jpg}";
|
||||
loginBackground = true;
|
||||
}
|
||||
)
|
||||
|
||||
# Networking
|
||||
gping
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
{ pkgs }:
|
||||
|
||||
let
|
||||
image = ./Background.jpg;
|
||||
in
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "sddm-theme";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "MarianArlt";
|
||||
repo = "sddm-sugar-dark";
|
||||
rev = "ceb2c455663429be03ba62d9f898c571650ef7fe";
|
||||
sha256 = "0153z1kylbhc9d12nxy9vpn0spxgrhgy36wy37pk6ysq7akaqlvy";
|
||||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -R ./* $out/
|
||||
cd $out/
|
||||
rm Background.jpg
|
||||
cp -r ${image} $out/Background.jpg
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue