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

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

View file

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

View file

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