Set shell for user

This commit is contained in:
larstvei 2025-08-24 02:05:01 +02:00
parent ddeb232b4f
commit 7ef7ac9d95
2 changed files with 4 additions and 2 deletions

View File

@ -21,16 +21,15 @@ in
users.${v.username}.imports = [ ../../home ]; users.${v.username}.imports = [ ../../home ];
}; };
# Define a user account. Don't forget to set a password with passwd.
users.users.${v.username} = { users.users.${v.username} = {
isNormalUser = true; isNormalUser = true;
description = "Lars Tveito"; description = "Lars Tveito";
home = v.userHome; home = v.userHome;
shell = pkgs.fish;
extraGroups = [ extraGroups = [
"networkmanager" "networkmanager"
"wheel" "wheel"
]; ];
packages = with pkgs; [ ]; # keep empty; HM will provide user packages
}; };
networking.hostName = v.hostName; networking.hostName = v.hostName;

View File

@ -1,4 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
fonts.packages = import ../../home/fonts { inherit pkgs; }; fonts.packages = import ../../home/fonts { inherit pkgs; };
programs.fish.enable = true;
environment.shells = [ pkgs.fish ];
} }