mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Set shell on a per user basis
This commit is contained in:
parent
b8cc3bb342
commit
a2e357f853
2 changed files with 3 additions and 5 deletions
|
|
@ -40,10 +40,7 @@
|
|||
|
||||
console.keyMap = "de-latin1-nodeadkeys";
|
||||
|
||||
users = {
|
||||
mutableUsers = false;
|
||||
defaultUserShell = pkgs.zsh;
|
||||
};
|
||||
users.mutableUsers = false;
|
||||
|
||||
programs = {
|
||||
zsh = {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
sops.secrets.seb-password.neededForUsers = true;
|
||||
|
||||
|
|
@ -6,6 +6,7 @@
|
|||
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