KaitoianOS/modules/wm/default.nix

43 lines
960 B
Nix
Raw Normal View History

2024-09-30 00:09:33 -07:00
{ pkgs, ... }:
{
2024-09-30 00:09:33 -07:00
services.greetd = {
enable = true;
2024-09-30 00:09:33 -07:00
settings = {
default_session = {
2024-10-02 09:03:26 -07:00
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway --remember --greeting 'Access is restricted to authorized personnel only.'";
2024-09-30 00:09:33 -07:00
user = "greeter";
};
};
};
systemd.services.greetd.serviceConfig = {
Type = "idle";
StandardInput = "tty";
StandardOutput = "tty";
StandardError = "journal"; # Without this errors will spam on screen
# Without these bootlogs will spam on screen
TTYReset = true;
TTYVHangup = true;
TTYVTDisallocate = true;
};
programs.sway = {
enable = true;
wrapperFeatures.gtk = true;
};
2024-12-27 04:50:27 -08:00
programs.swaylock = {
enable = true;
};
2024-10-12 14:44:51 -07:00
2024-12-27 04:50:27 -08:00
security.pam.services.swaylock = { };
2024-10-19 16:37:01 -07:00
#home.pointerCursor = {
#name = "apple_cursor";
#package = pkgs.apple-cursor;
#size = 24;
#x11 = {
#enable = true;
#defaultCursor = "apple_cursor";
#};
#};
}