Switch from lightdm to ly

This commit is contained in:
Oliver Davies 2025-01-12 11:25:13 +00:00
parent c3481f8ba6
commit bc6e5be1af
2 changed files with 8 additions and 18 deletions

View file

@ -1,8 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
programs.dconf.enable = true;
programs.gnupg.agent = { programs.gnupg.agent = {
enable = true; enable = true;
enableSSHSupport = true; enableSSHSupport = true;

View file

@ -20,27 +20,19 @@ in
config = mkIf config.features.desktop.i3.enable { config = mkIf config.features.desktop.i3.enable {
services = { services = {
displayManager.defaultSession = "none+i3"; displayManager.ly.enable = true;
xserver = { xserver.windowManager.i3 = {
displayManager.lightdm.enable = true; enable = true;
windowManager.i3 = { extraPackages = with pkgs; [
enable = true; i3status
extraPackages = with pkgs; [ i3lock
i3status i3blocks
i3lock ];
i3blocks
];
};
}; };
}; };
environment.systemPackages = with pkgs; [
acpi
libnotify
];
home-manager.users.${username} = { home-manager.users.${username} = {
xsession.windowManager.i3 = { xsession.windowManager.i3 = {
enable = true; enable = true;