First work

This commit is contained in:
Florian RICHER 2024-05-27 22:23:32 +02:00
parent be2affebef
commit b86a8b50c7
20 changed files with 138 additions and 148 deletions

View file

@ -23,30 +23,19 @@
};
};
# Define a user account. Don't forget to set a password with passwd.
users.users.florian = {
isNormalUser = true;
initialPassword = "test";
description = "florian";
extraGroups = [ "networkmanager" "wheel" ];
};
home-manager.users.florian = {
home = {
username = "florian";
homeDirectory = "/home/florian";
networking.hostName = "nixos-vm"; # Define your hostname.
users.users.florian.initialPassword = "test";
stateVersion = "24.05";
# Configure for testing in vm
virtualisation.vmVariant = {
# following configuration is added only when building VM with build-vm
virtualisation = {
memorySize = 8192; # Use 8192MiB memory.
cores = 8;
};
programs.home-manager.enable = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
};
modules = {
home.users.florian = {
};
desktop = {
plasma.enable = true;
};
@ -67,15 +56,4 @@
waydroid.enable = true;
};
};
# Configure for testing in vm
virtualisation.vmVariant = {
# following configuration is added only when building VM with build-vm
virtualisation = {
memorySize = 8192; # Use 8192MiB memory.
cores = 8;
};
};
networking.hostName = "nixos-vm"; # Define your hostname.
}