28 lines
537 B
Nix
28 lines
537 B
Nix
{config, pkgs, ...}:
|
|
let
|
|
user = import ../data/user.nix {};
|
|
in {
|
|
imports = [
|
|
../options.nix
|
|
];
|
|
|
|
users.users.${user.username} = {
|
|
shell = pkgs.zsh;
|
|
group = "users";
|
|
home = "/home/${user.username}";
|
|
createHome = true;
|
|
isNormalUser = true;
|
|
extraGroups = [ "wheel" "input" "nordvpn" "networkmanager" "libvirtd" ];
|
|
};
|
|
|
|
programs.zsh.enable = true;
|
|
programs.dconf.enable = true;
|
|
programs.ssh = {
|
|
startAgent = true;
|
|
};
|
|
|
|
home-manager.extraSpecialArgs = {
|
|
super-config = config;
|
|
};
|
|
}
|