more stuff

This commit is contained in:
Kopatz
2024-04-17 16:33:12 +02:00
parent 468c978e62
commit 6a891bec61
35 changed files with 177 additions and 74 deletions

29
users/vm/default.nix Normal file
View File

@@ -0,0 +1,29 @@
{ inputs
, pkgs
, lib
, config
, ...
}:
{
imports = [ ../default.nix ];
mainUser.name = "vm";
virtualisation.vmVariant = {
virtualisation = {
memorySize = 4096; # Use 2048MiB memory.
cores = 4;
};
};
home-manager = {
users.${config.mainUser.name} = import ./home.nix;
};
programs.zsh.enable = true;
users.users.${config.mainUser.name} = {
isNormalUser = true ;
initialPassword = "test";
description = config.mainUser.name;
shell = pkgs.zsh;
extraGroups = [ "networkmanager" "wheel" "docker" ];
};
}