Fix setting greetd user and login shell
This commit is contained in:
parent
2961ea8ffd
commit
a95b143cc4
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue