blob: 151c185d566fb9443d6c7bcd79fcb02c7214cdbb (
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
|
{
config,
lib,
pkgs,
...
}:
{
config = lib.mkIf config.programs.niri.enable {
environment = {
sessionVariables = {
NIXOS_OZONE_WL = "1"; # Niri doesn't have native XWayland support
};
systemPackages = with pkgs; [
# Terminal
alacritty
# Media player
celluloid
# PDF viewer
evince
# Application runner
fuzzel
# Image viewer
loupe
# Notification daemon
mako
# Polkit agent
pantheon.pantheon-agent-polkit
# Screen locker
swaylock
# Trash manager
trashy
];
};
services.greetd = {
enable = lib.mkDefault true;
settings = {
default_session.command = toString [
(lib.getExe pkgs.greetd.tuigreet)
"--time"
];
};
};
};
}
|