Enable nixosConfigurations.my_nixos_vm.

This commit is contained in:
Whovian NTSN 2024-09-02 05:28:32 -04:00
parent 4d5d42c1b3
commit fb2e57c50c
2 changed files with 7 additions and 1 deletions

View file

@ -299,7 +299,7 @@
];
};
/* my_nixos_vm = nixpkgs.lib.nixosSystem {
my_nixos_vm = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./system/my_nixos_vm/configuration.nix
@ -314,6 +314,11 @@
{
system.configurationRevision = self.shortRev or self.dirtyShortRev or "dirty";
boot.loader.systemd-boot = {
enable = true;
editor = false;
};
users.users.whovian = {
openssh.authorizedKeys.keys = mySSHKeys;
};

View file

@ -9,6 +9,7 @@
{
imports = [
./packages.nix
./hardware-configuration.nix # Include the results of the hardware scan.
];
networking.hostName = "my_nixos_vm";