nixos/users.nix

36 lines
667 B
Nix
Raw Normal View History

2021-07-13 09:53:22 +01:00
{config, pkgs, home-manager, ...}:
2021-07-01 01:02:55 +01:00
{
2021-07-01 06:03:39 +01:00
users.users = {
giulio = {
description = "Giulio De Pasquale";
isNormalUser = true;
shell = pkgs.zsh;
extraGroups = [ "wheel" "docker" "networkmanager" ];
};
root = {
shell = pkgs.zsh;
};
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/ssh.nix ./home/code.nix ];
};
2021-08-25 10:05:51 +01:00
home-manager.users.giulio = {
imports = [ ./home ];
};
2021-07-01 11:26:48 +01:00
fileSystems."/home/giulio/Downloads" = {
device = "tmpfs";
fsType = "tmpfs";
options = ["size=3G"];
};
2021-07-01 01:02:55 +01:00
}