diff --git a/machines/default.nix b/machines/default.nix index 980ca9a..2706e8b 100644 --- a/machines/default.nix +++ b/machines/default.nix @@ -70,10 +70,4 @@ inputs: { system = "aarch64-linux"; config = import ./regin/configuration.nix inputs; }; - vm1 = { - config = import ./vm1/configuration.nix inputs; - }; - vm2 = { - config = import ./vm2/configuration.nix inputs; - }; } diff --git a/machines/vm1/configuration.nix b/machines/vm1/configuration.nix deleted file mode 100644 index 46db933..0000000 --- a/machines/vm1/configuration.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ ... }: { - imports = [ ./hardware-configuration.nix ]; - - eboskma = { - desktop = { - enable = true; - home-manager = true; - }; - }; - - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - - time.timeZone = "Europe/Amsterdam"; - - networking = { - hostName = "vm2"; - useDHCP = false; - interfaces.enp1s0.useDHCP = true; - }; - - # nix = { - # package = pkgs.nixUnstable; - # extraOptions = '' - # experimental-features = nix-command flakes - # ''; - # }; - - services.openssh.enable = true; - # This value determines the NixOS release from which the default - # settings for stateful data, like file locations and database versions - # on your system were taken. It‘s perfectly fine and recommended to leave - # 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 = "21.05"; # Did you read the comment? -} diff --git a/machines/vm1/hardware-configuration.nix b/machines/vm1/hardware-configuration.nix deleted file mode 100644 index 4cba081..0000000 --- a/machines/vm1/hardware-configuration.nix +++ /dev/null @@ -1,27 +0,0 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ modulesPath -, ... -}: { - imports = [ - (modulesPath + "/profiles/qemu-guest.nix") - ]; - - boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = { - device = "/dev/disk/by-label/nixos"; - fsType = "ext4"; - }; - - fileSystems."/boot" = { - device = "/dev/disk/by-label/boot"; - fsType = "vfat"; - }; - - swapDevices = [{ device = "/dev/disk/by-label/swap"; }]; -} diff --git a/machines/vm2/configuration.nix b/machines/vm2/configuration.nix deleted file mode 100644 index 4a8af39..0000000 --- a/machines/vm2/configuration.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ ... }: { - imports = [ ./hardware-configuration.nix ]; - - eboskma = { - base = { - plymouth.enable = true; - work = false; - }; - desktop = { - enable = true; - home-manager = true; - }; - nix-common = { - enable = true; - }; - greetd.enable = true; - }; - - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - - time.timeZone = "Europe/Amsterdam"; - - networking = { - hostName = "vm2"; - useDHCP = false; - interfaces.enp1s0.useDHCP = true; - }; - - # nix = { - # package = pkgs.nixUnstable; - # extraOptions = '' - # experimental-features = nix-command flakes - # ''; - # }; - - services.openssh.enable = true; - # This value determines the NixOS release from which the default - # settings for stateful data, like file locations and database versions - # on your system were taken. It‘s perfectly fine and recommended to leave - # 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 = "21.05"; # Did you read the comment? -} diff --git a/machines/vm2/hardware-configuration.nix b/machines/vm2/hardware-configuration.nix deleted file mode 100644 index 07d2edc..0000000 --- a/machines/vm2/hardware-configuration.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ modulesPath, ... }: { - imports = [ - (modulesPath + "/profiles/qemu-guest.nix") - ]; - - boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ]; - boot.initrd.kernelModules = [ "kvm-amd" ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = { - device = "/dev/disk/by-label/nixos"; - fsType = "ext4"; - }; - - fileSystems."/boot" = { - device = "/dev/disk/by-label/boot"; - fsType = "vfat"; - }; - - swapDevices = [{ device = "/dev/disk/by-label/swap"; }]; -}