phone autologin, fix bento sha
This commit is contained in:
parent
33af4a02e4
commit
50c0d396d6
2 changed files with 7 additions and 1 deletions
|
|
@ -59,6 +59,12 @@
|
|||
];
|
||||
};
|
||||
|
||||
services.getty.autologinUser = "dominik";
|
||||
environment.loginShellInit = ''
|
||||
[[ "$(tty)" == /dev/tty? ]] && sudo /run/current-system/sw/bin/lock this
|
||||
[[ "$(tty)" == /dev/tty1 ]] && sway
|
||||
'';
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue