summaryrefslogtreecommitdiffstats
path: root/makefu/1systems/x/x230/default.nix
blob: c2a635ca7f898868cfb353c48806ab6b5060d2a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  imports = [
     <stockholm/makefu/2configs/hw/tp-x230.nix> # + bluetooth
     <stockholm/makefu/2configs/fs/sda-crypto-root-home.nix>

    <stockholm/makefu/2configs/hw/tpm.nix>
    <stockholm/makefu/2configs/hw/ssd.nix>

     # hard dependency because otherwise the device will not be unlocked
     {
      boot.initrd.luks.devices.luksroot =
      {
          device = "/dev/sda2";
          allowDiscards = true;
      };
     }
     { makefu.server.primary-itf = "wlp3s0"; }
  ];
}