blob: 87f923b8e8aff07c61b873ae5d4eb891613e9b2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
{ config, pkgs, ... }:
# Set up a complete labwc-based DE
{
imports = [
../thunar
../waybar
../xserver
];
# Enable labwc
programs.labwc.enable = true;
# Enable XDG portals for wl-roots
xdg.portal = {
wlr.enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
];
enable = true;
};
# Enable tuigreet
services = {
greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --user-menu -rti --asterisks --cmd labwc";
user = "greeter";
};
};
};
};
# user-level packages for user
home.packages = with pkgs; [
bemenu
featherpad
ghostty
gparted
grim
imv
j4-dmenu-desktop
mako
mpv
nextcloud-client
pavucontrol
slurp
swappy
wbg
wlr-randr
];
# Hide stderror and bootlogs from filling tuigreet
systemd.services.greetd.serviceConfig = {
Type = "idle";
StandardInput = "tty";
StandardOutput = "ttu";
StandardError = "journal"; # logs erros to journal, preventing spam on tuigreet
TTYReset = true;
TTYVHangup = true;
TTYVTDisallocate = true;
};
}
|
; all rights regarding Text and Data Mining (TDM) are reserved.