mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Make bash the default shell but use zsh on workstations
This commit is contained in:
parent
9c3607087f
commit
ced818dedb
4 changed files with 10 additions and 11 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue