config/hosts/vm/configuration.nix

39 lines
773 B
Nix
Raw Normal View History

2024-04-27 22:59:12 -04:00
{
pkgs,
inputs,
...
}: {
imports = [
../common/default.nix
];
programs.zsh.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.zack = {
isNormalUser = true;
description = "zack";
extraGroups = ["networkmanager" "wheel" "docker" "libvirtd" "plugdev"];
shell = pkgs.zsh;
packages = with pkgs; [
firefox
kate
rio
telegram-desktop
kitty
];
};
home-manager = {
extraSpecialArgs = {inherit inputs;};
users = {
"zack" = {
imports = [../../modules/home-manager/zack.nix];
_module.args.theme = import ../../core/theme.nix;
home.username = "zack";
home.homeDirectory = "/home/zack";
};
};
};
}