KaitoianOS/modules/wm/default.nix

46 lines
1.2 KiB
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 = {
command = ''
${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland --remember --asterisks --greeting "Welcome, generation $(readlink /nix/var/nix/profiles/system | grep -o '[0-9]*'). Access is restricted to authorized personnel only."
'';
2025-05-14 16:57:07 -07:00
# --remember tuigreet --time --cmd Hyprland --remember --asterisks --greeting 'Access granted for those who don't touch grass'
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-28 17:28:26 -08:00
# programs.swaylock = {
# enable = true;
# };
2024-10-12 14:44:51 -07:00
2024-12-28 17:28:26 -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";
#};
#};
}