1
Fork 0

feat: sddm

This commit is contained in:
Matei Adriel 2022-03-09 21:36:48 +02:00
parent b8768f5626
commit 18c51ecc13
4 changed files with 57 additions and 10 deletions
modules

View file

@ -14,6 +14,7 @@
, vim-extra-plugins
, vim-plugin-arpeggio
, telescope-file-browser-nvim
, sddm-theme-chili
, ...
}: self: super:
# installs a vim plugin from git with a given tag / branch
@ -67,4 +68,6 @@ in
arpeggio = plugin "arpeggio" vim-plugin-arpeggio;
};
sddm-theme-chili = sddm-theme-chili;
}

View file

@ -1,11 +1,30 @@
{ ... }: {
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
# Required for the sddm theme
libsForQt5.qt5.qtquickcontrols
libsForQt5.qt5.qtgraphicaleffects
libsForQt5.qt5.qtbase
];
services.xserver = {
# Enable the X11 windowing system.
enable = true;
xkbOptions = "eurosign:e";
# Make the xmonad session the default
displayManager.defaultSession = "none+xmonad";
# displayManager.defaultSession = "none+xmonad";
displayManager = {
defaultSession = "none+xmonad";
sddm = {
enable = true;
theme = "${pkgs.sddm-theme-chili}";
};
autoLogin = {
enable = true;
user = "adrielus";
};
};
# Enable xmonad
windowManager.xmonad = {
@ -14,14 +33,15 @@
};
# Enable xfce I think?
desktopManager = {
xterm.enable = false;
xfce = {
enable = true;
noDesktop = true;
enableXfwm = false;
};
};
# desktopManager = {
# xterm.enable = false;
# xfce = {
# enable = true;
# noDesktop = true;
# enableXfwm = false;
# };
# };
libinput = {
# Enable touchpad support.