Fix setting greetd user and login shell

This commit is contained in:
Evie Litherland-Smith 2024-05-11 17:27:37 +01:00
parent 2961ea8ffd
commit a95b143cc4

View file

@ -34,6 +34,7 @@
({
config,
lib,
pkgs,
...
}: {
networking = {inherit hostName;};
@ -41,8 +42,10 @@
settings.trusted-users = [primaryUser];
registry.nixpkgs.flake = nixpkgs;
};
services.greetd.settings.initial_session.user = primaryUser;
programs.${loginShell}.enable = true;
users.users.${primaryUser} = {
shell = pkgs.${loginShell};
group = "users";
isNormalUser = true;
description = "Evie Litherland-Smith";