mirror of
https://github.com/larstvei/nix-config.git
synced 2025-08-30 04:40:13 +00:00
Set shell for user
This commit is contained in:
parent
ddeb232b4f
commit
7ef7ac9d95
@ -21,16 +21,15 @@ in
|
||||
users.${v.username}.imports = [ ../../home ];
|
||||
};
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.${v.username} = {
|
||||
isNormalUser = true;
|
||||
description = "Lars Tveito";
|
||||
home = v.userHome;
|
||||
shell = pkgs.fish;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
packages = with pkgs; [ ]; # keep empty; HM will provide user packages
|
||||
};
|
||||
|
||||
networking.hostName = v.hostName;
|
||||
|
@ -1,4 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
fonts.packages = import ../../home/fonts { inherit pkgs; };
|
||||
|
||||
programs.fish.enable = true;
|
||||
environment.shells = [ pkgs.fish ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user