🧰 Styled SDDM

- Catppuccin theme for SDDM
- Moved SDDM config to sddm.nix
- Removed unused toml file
This commit is contained in:
Martin Berg Alstad 2024-12-31 18:22:30 +01:00
parent 51b30405c5
commit cbcc4d8df6
Signed by: martials
GPG Key ID: A3824877B269F2E2
3 changed files with 22 additions and 33 deletions

View File

@ -18,6 +18,7 @@
./development.nix ./development.nix
./security.nix ./security.nix
./locale.nix ./locale.nix
./sddm.nix
]; ];
# Bootloader. # Bootloader.
@ -105,12 +106,6 @@
# services.openssh.enable = true; # services.openssh.enable = true;
services = { services = {
displayManager.sddm = {
enable = true;
autoNumlock = true; # Enable numlock at login # TODO doesn't work
wayland.enable = true;
};
flatpak.enable = true; flatpak.enable = true;
gnome.gnome-keyring.enable = true; gnome.gnome-keyring.enable = true;

21
sddm.nix Normal file
View File

@ -0,0 +1,21 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
(catppuccin-sddm.override {
flavor = "mocha";
font = "Noto Sans";
fontSize = "9";
background = "${./catppuccin.png}";
loginBackground = true;
})
];
services.displayManager.sddm = {
enable = true;
theme = "catppuccin-mocha";
autoNumlock = true; # Enable numlock at login # TODO doesn't work
wayland.enable = true;
package = pkgs.kdePackages.sddm;
};
}

View File

@ -1,27 +0,0 @@
[palettes.catppuccin_mocha]
rosewater = "#f5e0dc"
flamingo = "#f2cdcd"
pink = "#f5c2e7"
mauve = "#cba6f7"
red = "#f38ba8"
maroon = "#eba0ac"
peach = "#fab387"
yellow = "#f9e2af"
green = "#a6e3a1"
teal = "#94e2d5"
sky = "#89dceb"
sapphire = "#74c7ec"
blue = "#89b4fa"
lavender = "#b4befe"
text = "#cdd6f4"
subtext1 = "#bac2de"
subtext0 = "#a6adc8"
overlay2 = "#9399b2"
overlay1 = "#7f849c"
overlay0 = "#6c7086"
surface2 = "#585b70"
surface1 = "#45475a"
surface0 = "#313244"
base = "#1e1e2e"
mantle = "#181825"
crust = "#11111b"