mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
configured lightdm
This commit is contained in:
parent
ac3b4fcbb4
commit
86c9958a63
8 changed files with 21 additions and 4 deletions
|
@ -8,6 +8,7 @@
|
|||
./hardware-configuration.nix
|
||||
./modules/autorandr
|
||||
./modules/networks
|
||||
./modules/lightdm
|
||||
../../shared/vim.nix
|
||||
../../shared/input.nix
|
||||
../../shared/sops.nix
|
||||
|
@ -27,9 +28,7 @@
|
|||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
|
||||
displayManager = {
|
||||
lightdm.enable = true;
|
||||
defaultSession = "none+awesome";
|
||||
};
|
||||
windowManager.awesome = {
|
||||
|
@ -47,6 +46,8 @@
|
|||
hardware.pulseaudio.enable = true;
|
||||
hardware.bluetooth.enable = true;
|
||||
|
||||
programs.dconf.enable = true;
|
||||
|
||||
# control display backlight
|
||||
programs.light.enable = true;
|
||||
|
||||
|
|
16
hosts/thinkpad/modules/lightdm/default.nix
Normal file
16
hosts/thinkpad/modules/lightdm/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.xserver.displayManager.lightdm = {
|
||||
enable = true;
|
||||
background = ../../../../images/wallpaper-blurred.png;
|
||||
greeters.slick = {
|
||||
enable = true;
|
||||
draw-user-backgrounds = true;
|
||||
extraConfig = ''
|
||||
logo = ${../../../../images/nixos-logo.png}
|
||||
show-a11y=false
|
||||
show-hostname=false
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue