nixos/users.nix

26 lines
489 B
Nix
Raw Normal View History

2021-07-01 01:02:55 +01:00
{config, pkgs, ...}:
{
2021-07-01 02:13:41 +01:00
imports = [ <home-manager/nixos> ];
2021-07-01 01:02:55 +01:00
users.users.giulio = {
2021-07-01 05:24:09 +01:00
description = "Giulio De Pasquale";
2021-07-01 01:02:55 +01:00
isNormalUser = true;
2021-07-01 06:01:36 +01:00
shell = pkgs.zsh;
extraGroups = [ "wheel" "docker" "networkmanager" ];
2021-07-01 01:53:43 +01:00
};
programs.zsh = {
enableBashCompletion = true;
2021-07-01 06:01:36 +01:00
enableCompletion = true;
};
home-manager.users.root = {
imports = [ ./home/zsh.nix ./home/code.nix ];
2021-07-01 01:02:55 +01:00
};
2021-07-01 02:13:41 +01:00
home-manager.users.giulio = {
imports = [ ./home ];
};
2021-07-01 01:02:55 +01:00
}