Make bash the default shell but use zsh on workstations

This commit is contained in:
SebastianStork 2025-03-28 19:35:28 +01:00
parent 9c3607087f
commit ced818dedb
4 changed files with 10 additions and 11 deletions

View file

@ -50,20 +50,12 @@
users.mutableUsers = false; users.mutableUsers = false;
programs = { programs.neovim = {
zsh = {
enable = true;
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
};
neovim = {
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;
viAlias = true; viAlias = true;
vimAlias = true; vimAlias = true;
}; };
};
environment.systemPackages = [ environment.systemPackages = [
pkgs.git pkgs.git

View file

@ -1,8 +1,12 @@
{ pkgs, ... }:
{ {
imports = [ imports = [
../../home-manager.nix ../../home-manager.nix
../user.nix ../user.nix
]; ];
users.users.seb.shell = pkgs.zsh;
programs.zsh.enable = true;
home-manager.users.seb = ./home.nix; home-manager.users.seb = ./home.nix;
} }

View file

@ -1,8 +1,12 @@
{ pkgs, ... }:
{ {
imports = [ imports = [
../../home-manager.nix ../../home-manager.nix
../user.nix ../user.nix
]; ];
users.users.seb.shell = pkgs.zsh;
programs.zsh.enable = true;
home-manager.users.seb = ./home.nix; home-manager.users.seb = ./home.nix;
} }

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, ... }:
{ {
sops.secrets."seb-password".neededForUsers = true; sops.secrets."seb-password".neededForUsers = true;
@ -6,7 +6,6 @@
isNormalUser = true; isNormalUser = true;
description = "Sebastian Stork"; description = "Sebastian Stork";
hashedPasswordFile = config.sops.secrets."seb-password".path; hashedPasswordFile = config.sops.secrets."seb-password".path;
shell = pkgs.zsh;
extraGroups = [ extraGroups = [
"wheel" "wheel"
"libvirtd" "libvirtd"