fix: nixos-vm evaluation

This commit is contained in:
Dmitriy Kholkin 2025-03-10 20:07:01 +03:00
parent d87b988a06
commit 130b1e9eb3
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2

View File

@ -5,12 +5,16 @@
}:
{
imports = [
"${modulesPath}/profiles/qemu-guest.nix"
"${modulesPath}/virtualisation/qemu-vm.nix"
(modulesPath + "/profiles/qemu-guest.nix")
(modulesPath + "/virtualisation/qemu-vm.nix")
];
ataraxia.defaults.role = "base";
boot.kernelParams = [
"systemd.setenv=SYSTEMD_SULOGIN_FORCE=1"
];
virtualisation.memorySize = 4096;
virtualisation.cores = 4;
virtualisation.resolution.x = 1920;
@ -19,14 +23,6 @@
"-vga qxl"
"-display gtk"
];
users.mutableUsers = false;
users.users.ataraxia = {
isNormalUser = true;
extraGroups = [ "wheel" ];
hashedPassword = "$y$j9T$ZC44T3XYOPapB26cyPsA4.$8wlYEbwXFszC9nrg0vafqBZFLMPabXdhnzlT3DhUit6";
shell = pkgs.bash;
};
users.users.test = {
isNormalUser = true;
};