aboutsummaryrefslogtreecommitdiff
path: root/nix/hosts/vm
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-11-17 11:16:44 -0800
committerFranck Cuny <franck@fcuny.net>2024-11-17 11:16:44 -0800
commit357fbda2bb2400a52f8dec61b66342b92fa945ae (patch)
treeb81c4ea017372f086963094903a01ac5e56a98ef /nix/hosts/vm
parentinstall font dejavu (diff)
downloadinfra-357fbda2bb2400a52f8dec61b66342b92fa945ae.tar.gz
move machine configurations under darwin and nixos
Don't manage fonts on Darwin with homebrew.
Diffstat (limited to 'nix/hosts/vm')
-rw-r--r--nix/hosts/vm/default.nix29
-rw-r--r--nix/hosts/vm/hardware.nix14
2 files changed, 0 insertions, 43 deletions
diff --git a/nix/hosts/vm/default.nix b/nix/hosts/vm/default.nix
deleted file mode 100644
index a6dff3a..0000000
--- a/nix/hosts/vm/default.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{ pkgs, ... }: {
- imports = [
- ./hardware.nix
- ];
-
- boot.tmp.cleanOnBoot = true;
- zramSwap.enable = false;
-
- networking = {
- hostName = "nixos";
- domain = "";
- };
-
- services.openssh.enable = true;
-
- users.users.root.openssh.authorizedKeys.keys = [
- ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi''
- ];
-
- system.stateVersion = "23.11";
-
- environment = {
- systemPackages = with pkgs; [
- git
- jq
- vim
- ];
- };
-}
diff --git a/nix/hosts/vm/hardware.nix b/nix/hosts/vm/hardware.nix
deleted file mode 100644
index 89c3d8b..0000000
--- a/nix/hosts/vm/hardware.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-{ modulesPath, ... }:
-{
- imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
- boot.loader.grub = {
- efiSupport = true;
- efiInstallAsRemovable = true;
- device = "nodev";
- };
- fileSystems."/boot" = { device = "/dev/disk/by-uuid/E783-E9AE"; fsType = "vfat"; };
- boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" ];
- boot.initrd.kernelModules = [ "nvme" ];
- fileSystems."/" = { device = "/dev/vda2"; fsType = "ext4"; };
- swapDevices = [{ device = "/dev/vda3"; }];
-}