stockholm/makefu/2configs/zsh-user.nix

11 lines
198 B
Nix

{ config, lib, pkgs, ... }:
##
with lib;
let
mainUser = config.krebs.build.user.name;
in
{
programs.zsh.enable = true;
users.extraUsers.${mainUser}.shell = "/run/current-system/sw/bin/zsh";
}