Switch to semi-official sxmo-nix packaging

This commit is contained in:
Kiana Sheibani 2023-01-14 15:03:31 -05:00
parent 549ebb008c
commit b67286cae0
3 changed files with 26 additions and 135 deletions

View file

@ -1,8 +1,20 @@
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, username, ... }:
{
hardware.bluetooth.enable = true;
hardware.pulseaudio.package = pkgs.pulseaudioFull;
zramSwap.enable = true;
services.xserver.windowManager.sxmo.enable = true;
# SWMO
services.xserver = {
enable = true;
desktopManager.sxmo.enable = true;
displayManager = {
tinydm.enable = true;
autoLogin.enable = true;
autoLogin.user = username;
defaultSession = "swmo";
}
};
}