summaryrefslogtreecommitdiffstats
path: root/tv/1systems/ru/config.nix
blob: e66cddead9a3dacc9787699a2215b8b3e49b3580 (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
28
29
30
31
32
33
34
with import ./lib;
{ config, ... }: {
  imports = [
    ../..
    ../../2configs/hw/winmax2.nix
    ../../2configs/retiolum.nix
    ../../2configs/wiregrill.nix
  ];

  boot.initrd.luks.devices.main.device = "/dev/nvme0n1p2";
  boot.loader.efi.canTouchEfiVariables = true;
  boot.loader.systemd-boot.enable = true;

  fileSystems."/" = {
    device = "main/root";
    fsType = "zfs";
  };
  fileSystems."/boot" = {
    device = "/dev/nvme0n1p1";
    fsType = "vfat";
  };
  fileSystems."/home" = {
    device = "main/home";
    fsType = "zfs";
  };
  fileSystems."/bku" = {
    device = "main/bku";
    fsType = "zfs";
  };

  krebs.build.host = config.krebs.hosts.ru;

  system.stateVersion = "22.11";
}