jakeisnt / nixcfg

A modular, Wayland-enabled NixOS configuration.
MIT License
30 stars 0 forks source link

Fix login issues #115

Closed jakeisnt closed 3 years ago

jakeisnt commented 3 years ago

Status quo: login happens automatically starts zsh shell after login that shell launches my sway session as a systemd service sway launches some things in its config file

Ideal: login happens automatically or i have a proper login manager (like ly? revisit hlissner config for good login config. or use swaylock or something) systemd service for sway is started right away, skipping config all programs are started separately as services; no service execution in sway config this systemd lock handler seems useful: https://github.com/grahamc/nixos-config/tree/master/packages/systemd-lock-handler

jakeisnt commented 3 years ago

Found someone who got this right! https://github.com/apognu/tuigreet seems like a good library to use, with build instructions here https://github.com/bnjmnt4n/system/blob/main/nixos/login/greetd.nix and here https://github.com/bnjmnt4n/system/blob/main/pkgs/tuigreet.nix.

jakeisnt commented 3 years ago

if i really want to password protect my system i have to use full disk encryption. this is kind of silly