Fix setting greetd user and login shell
This commit is contained in:
parent
2961ea8ffd
commit
a95b143cc4
|
@ -34,6 +34,7 @@
|
||||||
({
|
({
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
networking = {inherit hostName;};
|
networking = {inherit hostName;};
|
||||||
|
@ -41,8 +42,10 @@
|
||||||
settings.trusted-users = [primaryUser];
|
settings.trusted-users = [primaryUser];
|
||||||
registry.nixpkgs.flake = nixpkgs;
|
registry.nixpkgs.flake = nixpkgs;
|
||||||
};
|
};
|
||||||
|
services.greetd.settings.initial_session.user = primaryUser;
|
||||||
programs.${loginShell}.enable = true;
|
programs.${loginShell}.enable = true;
|
||||||
users.users.${primaryUser} = {
|
users.users.${primaryUser} = {
|
||||||
|
shell = pkgs.${loginShell};
|
||||||
group = "users";
|
group = "users";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Evie Litherland-Smith";
|
description = "Evie Litherland-Smith";
|
||||||
|
|
Loading…
Reference in a new issue