dms: use greeter to login

This commit is contained in:
Christoph Hollizeck 2026-04-20 17:12:57 +02:00
parent 479dad5cb4
commit 60271a2359
7 changed files with 81 additions and 12 deletions

View file

@ -68,6 +68,14 @@ topLevel: {
nix.settings.trusted-users = [ topLevel.config.flake.meta.users.cholli.username ];
systemd.tmpfiles.rules =
let
username = "cholli";
in
[
"f+ /var/lib/AccountsService/users/${username} 0600 root root - [User]\\nIcon=/var/lib/AccountsService/icons/${username}\\n" # notice the "\\n" we don't want nix to insert a new line in our string, just pass it as \n to systemd
"L+ /var/lib/AccountsService/icons/${username} - - - - ${./profile.png}"
];
};
homeManager.cholli =