Compare commits
2 commits
436c1785a8
...
50bb1a9ba0
| Author | SHA1 | Date | |
|---|---|---|---|
| 50bb1a9ba0 | |||
| d081c06a1c |
2 changed files with 5 additions and 5 deletions
|
|
@ -61,6 +61,11 @@
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@home" "compress=zstd" ];
|
options = [ "subvol=@home" "compress=zstd" ];
|
||||||
};
|
};
|
||||||
|
"/persist" = {
|
||||||
|
device = "/dev/disk/by-uuid/5322c217-b87b-4150-8b4c-a8fa17a899bf";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=@persist" "compress=zstd" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,6 @@
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
age.secrets = {
|
|
||||||
syncthingKey.file = ../../secrets/syncthing/key;
|
|
||||||
syncthingCert.file = ../../secrets/syncthing/cert;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
key = config.age.secrets.syncthingKey.path;
|
key = config.age.secrets.syncthingKey.path;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue