mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31: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";
|
console.keyMap = "de-latin1-nodeadkeys";
|
||||||
|
|
||||||
users = {
|
users.mutableUsers = false;
|
||||||
mutableUsers = false;
|
|
||||||
defaultUserShell = pkgs.zsh;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
zsh = {
|
zsh = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
sops.secrets.seb-password.neededForUsers = true;
|
sops.secrets.seb-password.neededForUsers = true;
|
||||||
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue