nixos/users.nix
Giulio De Pasquale b7272fa1d2 zsh for root
2021-07-01 06:03:39 +01:00

32 lines
557 B
Nix

{config, pkgs, ...}:
{
imports = [ <home-manager/nixos> ];
users.users = {
giulio = {
description = "Giulio De Pasquale";
isNormalUser = true;
shell = pkgs.zsh;
extraGroups = [ "wheel" "docker" "networkmanager" ];
};
root = {
shell = pkgs.zsh;
};
};
programs.zsh = {
enableBashCompletion = true;
enableCompletion = true;
};
home-manager.users.root = {
imports = [ ./home/zsh.nix ./home/code.nix ];
};
home-manager.users.giulio = {
imports = [ ./home ];
};
}