split shell config to file and make shell user default

This commit is contained in:
Benjamin Palko 2024-07-14 23:40:54 -04:00
parent 653ef5b48b
commit 077b1f7083
2 changed files with 7 additions and 3 deletions

6
nixos/shell.nix Normal file
View file

@ -0,0 +1,6 @@
{ pkgs, ... }:
{
environment.shells = with pkgs; [ zsh ];
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
}