phone autologin, fix bento sha

This commit is contained in:
2023-09-23 18:31:45 +02:00
parent 33af4a02e4
commit 50c0d396d6
2 changed files with 7 additions and 1 deletions

View File

@@ -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. Its perfectly fine and recommended to leave

View File

@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchgit {
url = "https://github.com/dpolakovics/bento.git";
rev = "eba7d076e25b68df7cf1f40ba0f9d91bc2bca4af";
sha256 = "sha256-gLWoZh7fMn3cpIYSJFSVOQHA6qUIJikHXmucHX7P2WI=";
sha256 = "sha256-ptHNxu336fPI6a5L9wxrN5xY8XcmrAGSyju+zvanKkM=";
};
buildInputs = [ ];