diff options
Diffstat (limited to 'custom/btrfs-snapshots.nix')
-rw-r--r-- | custom/btrfs-snapshots.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/btrfs-snapshots.nix b/custom/btrfs-snapshots.nix index 03b17d23..7114e9d9 100644 --- a/custom/btrfs-snapshots.nix +++ b/custom/btrfs-snapshots.nix | |||
@@ -13,11 +13,13 @@ in { | |||
13 | enable = mkEnableOption "a systemd unit for btrfs snapshots"; | 13 | enable = mkEnableOption "a systemd unit for btrfs snapshots"; |
14 | 14 | ||
15 | mountPoint = mkOption { | 15 | mountPoint = mkOption { |
16 | readOnly = true; | ||
16 | type = types.path; | 17 | type = types.path; |
17 | default = "/mnt"; | 18 | default = "/mnt"; |
18 | }; | 19 | }; |
19 | 20 | ||
20 | mountPrefix = mkOption { | 21 | mountPrefix = mkOption { |
22 | readOnly = true; | ||
21 | type = types.str; | 23 | type = types.str; |
22 | default = "snapshot-"; | 24 | default = "snapshot-"; |
23 | }; | 25 | }; |