From a95b143cc4439a320f9c590f573af47a72587fc0 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 11 May 2024 17:27:37 +0100 Subject: [PATCH] Fix setting greetd user and login shell --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index 5e9c2161..cf16b197 100644 --- a/flake.nix +++ b/flake.nix @@ -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";