summaryrefslogtreecommitdiffstats
path: root/tv/1systems/xu-qemu0.nix
blob: 03ac19cf7c003008a0bc8ed5f97da5a864c6f00e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ config, lib, pkgs, ... }:

{
  krebs.hosts.xu-qemu0 = {
    cores = 1;
    ssh.privkey.path = <secrets/ssh.id_ed25519>;
    # cannot define ssh.pubkey without at least one addr or alias
    #ssh.pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFe51rD0ZqlMXNi/YpapnRzvdzCjI0icmxfCyBLSKG04";
  };
  krebs.build.host = config.krebs.hosts.xu-qemu0;

  imports = [
    <nixpkgs/nixos/modules/profiles/qemu-guest.nix>
  ];

  boot.loader.grub.device = "/dev/sda";

  fileSystems = {
    "/boot" = {
      device = "/dev/sda1";
    };
    "/" = {
      device = "/dev/sda2";
      fsType = "btrfs";
    };
  };
}