From 83ae50c31a73d17885baf38586c892124fc076c2 Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 3 May 2022 22:55:35 +0200 Subject: ponte.r: init --- krebs/1systems/ponte/config.nix | 10 ++++++++++ krebs/1systems/ponte/hw.nix | 13 +++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 krebs/1systems/ponte/config.nix create mode 100644 krebs/1systems/ponte/hw.nix (limited to 'krebs/1systems') diff --git a/krebs/1systems/ponte/config.nix b/krebs/1systems/ponte/config.nix new file mode 100644 index 000000000..1e25ca9bf --- /dev/null +++ b/krebs/1systems/ponte/config.nix @@ -0,0 +1,10 @@ +{ config, pkgs, ... }: +{ + imports = [ + ./hw.nix + + + ]; + + 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 000000000..83b537484 --- /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"; }; +} -- cgit v1.2.3