aboutsummaryrefslogtreecommitdiff
path: root/nixos/machine/gaspode.nix
blob: cbd08bb57fc556d4da30d0e2526526e50d611c99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  config,
  lib,
  pkgs,
  ...
}:
with lib; {
  config = {
    fileSystems = {
      "/" = {
        device = "/dev/mmcblk0p2";
        options = ["compress=lzo" "subvol=@nix"];
      };
      "/home" = {
        device = "/dev/mmcblk0p2";
        options = ["compress=lzo" "subvol=@home"];
      };
      "/boot" = {
        device = "/dev/mmcblk0p1";
      };
    };
  };
}