Inspired by and referenced from stepanzubkov/where-is-my-sddm-theme
Show help - F1
Cycle select next user - alt+F2
Cycle select next session - alt+F3
Suspend - F10 [fn+F10]
Poweroff - F11 [fn+F11]
Reboot - F12 [fn+F12]
Note: Mouse Cursor is hidden and will show up on pressing
F1
for help.
sddm-gruvbox.nix
{ pkgs }:
pkgs.stdenv.mkDerivation {
name = "gruvbox-minimal-sddm";
src = pkgs.fetchFromGitHub {
owner = "scientiac";
repo = "gruvbox-minimal-sddm";
rev = "7b6bbe9fb5e23ee4d7bc55b51f00ed37891beffe";
sha256 = "1chri2ymkvmwfm0magwz5rvvrxjjm8cdjkfa8aiif7z01bag6qvq";
};
installPhase = ''
mkdir -p $out
cp -R ./* $out/
'';
}
configuration.nix
services.xserver = {
displayManager = {
sddm.enable = true;
sddm.theme = "${import ./sddm-gruvbox.nix {inherit pkgs;}}";
};
};
};
configuration.nix
fonts = {
fontDir.enable = true;
fontconfig = {
enable = true;
defaultFonts = {
monospace = ["FantasqueSansMNerdFont"];
};
};
packages = with pkgs; [
(nerdfonts.override {fonts = ["FantasqueSansMono"];})
];
};