Skip to content

Commit

Permalink
Test a VPN setup
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Oct 26, 2024
1 parent 85f96a0 commit dbef5f1
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hosts/aizen/configuration.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
tinypc.enable = true;
}
8 changes: 8 additions & 0 deletions hosts/aizen/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
imports = [
./configuration.nix
./hardware-configuration.nix

../../modules/nixos
];
}
10 changes: 10 additions & 0 deletions hosts/aizen/hardware-configuration.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{modulesPath, ...}: {
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
boot.loader.grub.device = "/dev/vda";
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
boot.initrd.kernelModules = ["nvme"];
fileSystems."/" = {
device = "/dev/vda1";
fsType = "ext4";
};
}

0 comments on commit dbef5f1

Please sign in to comment.