begin river

This commit is contained in:
Motiejus Jakštys 2023-12-20 17:03:48 +02:00
parent 4f1d416491
commit 28dbf3ec47
1 changed files with 12 additions and 4 deletions

View File

@ -2,7 +2,9 @@
config, config,
pkgs, pkgs,
... ...
}: { }: let
inX11 = false;
in {
config = { config = {
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
@ -37,7 +39,8 @@
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";
@ -55,9 +58,14 @@
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 = {
@ -198,7 +206,7 @@
}; };
screen-locker = { screen-locker = {
enable = true; enable = inX11;
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"'';
}; };