aboutsummaryrefslogtreecommitdiff
path: root/nixos/machine/gaspode.nix
blob: 82762f188b567dbe26fc56ee0723ce2e209390d1 (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
{ 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";
      };
    };

  };

}