diff --git a/README.md b/README.md index 983ed12..0032687 100644 --- a/README.md +++ b/README.md @@ -10,31 +10,6 @@ nixos-rebuild switch --flake flake_path_directory#hostname nix flake update --extra-experimental-features "nix-command flakes" ``` -## Configure VM - -Configure VM -```nix -users.users..initialPassword = ""; -virtualisation.vmVariant = { - # following configuration is added only when building VM with build-vm - virtualisation = { - memorySize = ; # Use 8192MiB memory. - cores = ; - # And more here https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/virtualisation/qemu-vm.nix - }; -}; -``` - -Build -```bash -nixos-rebuild build-vm --flake .#nixos-test -``` - -Run -```bash -./result/bin/run-nixos-vm-vm -``` - ## Show changements between revisions diff --git a/home/default.nix b/home/default.nix index fe30178..4420680 100644 --- a/home/default.nix +++ b/home/default.nix @@ -20,7 +20,7 @@ username = "florian"; homeDirectory = "/home/florian"; - stateVersion = "24.05"; + stateVersion = "23.11"; }; programs.home-manager.enable = true; diff --git a/hosts/nixos-test/default.nix b/hosts/nixos-test/default.nix index 2c68260..4f14e7f 100644 --- a/hosts/nixos-test/default.nix +++ b/hosts/nixos-test/default.nix @@ -30,15 +30,5 @@ }; }; - # Configure for testing in vm - users.users.florian.initialPassword = "test"; - 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. } diff --git a/modules/system.nix b/modules/system.nix index 47a6898..8bf4d6e 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -56,5 +56,5 @@ # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "24.05"; # Did you read the comment? + system.stateVersion = "23.11"; # Did you read the comment? }