summaryrefslogtreecommitdiffstats
path: root/krebs/1systems
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-05-03 22:55:35 +0200
committerlassulus <lassulus@lassul.us>2022-05-03 22:55:35 +0200
commit83ae50c31a73d17885baf38586c892124fc076c2 (patch)
tree250d069739612fa78915aeb5d228d57723bd9264 /krebs/1systems
parent952ea9255534ff158ca614a92b5cf6e36043541d (diff)
ponte.r: init
Diffstat (limited to 'krebs/1systems')
-rw-r--r--krebs/1systems/ponte/config.nix10
-rw-r--r--krebs/1systems/ponte/hw.nix13
2 files changed, 23 insertions, 0 deletions
diff --git a/krebs/1systems/ponte/config.nix b/krebs/1systems/ponte/config.nix
new file mode 100644
index 00000000..1e25ca9b
--- /dev/null
+++ b/krebs/1systems/ponte/config.nix
@@ -0,0 +1,10 @@
+{ config, pkgs, ... }:
+{
+ imports = [
+ ./hw.nix
+ <stockholm/krebs>
+ <stockholm/krebs/2configs>
+ ];
+
+ krebs.build.host = config.krebs.hosts.ponte;
+}
diff --git a/krebs/1systems/ponte/hw.nix b/krebs/1systems/ponte/hw.nix
new file mode 100644
index 00000000..83b53748
--- /dev/null
+++ b/krebs/1systems/ponte/hw.nix
@@ -0,0 +1,13 @@
+{ modulesPath, ... }:
+{
+ imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
+ boot.loader.grub = {
+ efiSupport = true;
+ efiInstallAsRemovable = true;
+ device = "nodev";
+ copyKernels = false;
+ };
+ fileSystems."/boot" = { device = "/dev/disk/by-uuid/628A-7F3B"; fsType = "vfat"; };
+ boot.initrd.kernelModules = [ "nvme" ];
+ fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
+}