split shell config to file and make shell user default
This commit is contained in:
parent
653ef5b48b
commit
077b1f7083
2 changed files with 7 additions and 3 deletions
|
|
@ -16,14 +16,12 @@ in
|
|||
./nvidia.nix
|
||||
./audio.nix
|
||||
./services.nix
|
||||
./shell.nix
|
||||
./hyprland.nix
|
||||
];
|
||||
|
||||
environment.shells = with pkgs; [ zsh ];
|
||||
programs.zsh.enable = true;
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.${username} = {
|
||||
shell = pkgs.zsh;
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||
packages = with pkgs; [
|
||||
|
|
|
|||
6
nixos/shell.nix
Normal file
6
nixos/shell.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
environment.shells = with pkgs; [ zsh ];
|
||||
programs.zsh.enable = true;
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue