Revert "begin river"

This reverts commit 28dbf3ec47.
This commit is contained in:
Motiejus Jakštys 2023-12-20 17:06:08 +02:00
parent 28dbf3ec47
commit 12a00997d5

View File

@ -2,9 +2,7 @@
config, config,
pkgs, pkgs,
... ...
}: let }: {
inX11 = false;
in {
config = { config = {
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
@ -39,8 +37,7 @@ in {
displayManager = { displayManager = {
sddm.enable = true; sddm.enable = true;
#defaultSession = "none+awesome"; defaultSession = "none+awesome";
defaultSession = "river";
autoLogin = { autoLogin = {
enable = true; enable = true;
user = "motiejus"; user = "motiejus";
@ -58,14 +55,9 @@ in {
programs = { programs = {
adb.enable = true; adb.enable = true;
slock.enable = true;
nm-applet.enable = true; nm-applet.enable = true;
command-not-found.enable = false; command-not-found.enable = false;
# for wayland
river.enable = true;
# for X11
slock.enable = inX11;
}; };
virtualisation.podman = { virtualisation.podman = {
@ -206,7 +198,7 @@ in {
}; };
screen-locker = { screen-locker = {
enable = inX11; enable = true;
xautolock.enable = false; xautolock.enable = false;
lockCmd = ''${pkgs.bash}/bin/bash -c "${pkgs.coreutils}/bin/sleep 0.2; ${pkgs.xorg.xset}/bin/xset dpms force off; /run/wrappers/bin/slock"''; lockCmd = ''${pkgs.bash}/bin/bash -c "${pkgs.coreutils}/bin/sleep 0.2; ${pkgs.xorg.xset}/bin/xset dpms force off; /run/wrappers/bin/slock"'';
}; };