feat: use sddm20 and a bunch of dracula stuff
This commit is contained in:
parent
85842b9060
commit
2b1ab1608d
6 changed files with 66 additions and 13 deletions
nixos
|
@ -37,8 +37,10 @@
|
|||
|
||||
plymouth = {
|
||||
enable = true;
|
||||
themePackages = [ pkgs.catppuccin-plymouth ];
|
||||
theme = "catppuccin-macchiato";
|
||||
#themePackages = [ pkgs.catppuccin-plymouth ];
|
||||
#theme = "catppuccin-macchiato";
|
||||
themePackages = [ (with import <nixpkgs> {}; callPackage ../overlays/dracula-plymouth.nix {}) ];
|
||||
theme = "dracula";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{config, pkgs, ...}:
|
||||
{config, pkgs, lib, ...}:
|
||||
|
||||
{
|
||||
services = {
|
||||
|
@ -6,12 +6,21 @@
|
|||
enable = true;
|
||||
layout = "ca";
|
||||
displayManager = {
|
||||
gdm = {
|
||||
sddm = {
|
||||
enable = true;
|
||||
wayland = true;
|
||||
settings = {
|
||||
General = {
|
||||
DisplayServer = "wayland";
|
||||
InputMethod = "";
|
||||
};
|
||||
Wayland.CompositorCommand = "${pkgs.weston}/bin/weston --shell=fullscreen-shell.so";
|
||||
Theme = {
|
||||
Current = "Dracula";
|
||||
ThemeDir = "${pkgs.dracula-theme}/share/sddm/themes";
|
||||
};
|
||||
};
|
||||
};
|
||||
sessionPackages = [
|
||||
pkgs.gnome.gnome-session.sessions # gnome session needed to fix bugs
|
||||
(builtins.getFlake "github:hyprwm/Hyprland").packages.x86_64-linux.default
|
||||
];
|
||||
defaultSession = "hyprland";
|
||||
|
@ -39,6 +48,7 @@
|
|||
"/nix/var/log/nix"
|
||||
"/proc"
|
||||
"/run/user/1000"
|
||||
"${pkgs.findutils}/" # doesn't work?
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -153,6 +163,8 @@
|
|||
evtest
|
||||
plasma5Packages.kio-admin
|
||||
plasma5Packages.ksshaskpass
|
||||
plasma5Packages.plasma-framework
|
||||
plasma5Packages.plasma-workspace
|
||||
];
|
||||
|
||||
fonts = {
|
||||
|
|
39
nixos/overlays/dracula-plymouth.nix
Normal file
39
nixos/overlays/dracula-plymouth.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "dracula-plymouth";
|
||||
version = "unstable-2023-01-13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "plymouth";
|
||||
owner = "dracula";
|
||||
rev = "37aa09b27ecee4a825b43d2c1d20b502e8f19c96";
|
||||
hash = "sha256-7YwkBzkAND9lfH2ewuwna1zUkQStBBx4JHGw3/+svhA=";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/plymouth/themes
|
||||
mv ./dracula $out/share/plymouth/themes/
|
||||
|
||||
sed -i "s@\/usr\/@$out\/@" $out/share/plymouth/themes/dracula/dracula.plymouth
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A dark theme for Plymouth";
|
||||
homepage = "https://github.com/dracula/plymouth/tree/main";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ matt1432 ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue