snapper & syncthing
This commit is contained in:
parent
556b270fc5
commit
b403406470
2 changed files with 13 additions and 13 deletions
|
|
@ -103,18 +103,6 @@
|
||||||
KERNEL=="hidraw*", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a3c5", MODE="0666"
|
KERNEL=="hidraw*", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a3c5", MODE="0666"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
services.snapper.configs = {
|
|
||||||
home = {
|
|
||||||
SUBVOLUME = "/home";
|
|
||||||
ALLOW_USERS = ["tao"];
|
|
||||||
TIMELINE_CREATE = true;
|
|
||||||
TIMELINE_CLEANUP = true;
|
|
||||||
TIMELINE_LIMIT_HOURLY = "5";
|
|
||||||
TIMELINE_LIMIT_DAILY = "7";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
services.snapper.snapshotInterval = "*:0/5";
|
|
||||||
|
|
||||||
fileSystems."/home" = {
|
fileSystems."/home" = {
|
||||||
device = "/dev/disk/by-uuid/eb9fcce2-e9f3-438a-b5ce-8f72f32f0e09";
|
device = "/dev/disk/by-uuid/eb9fcce2-e9f3-438a-b5ce-8f72f32f0e09";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
|
|
|
||||||
|
|
@ -87,12 +87,24 @@
|
||||||
folders = {
|
folders = {
|
||||||
"sync".path = "/home/tao/sync";
|
"sync".path = "/home/tao/sync";
|
||||||
"school".path = "/home/tao/school";
|
"school".path = "/home/tao/school";
|
||||||
# "projects".path = "/home/tao/projects";
|
"projects".path = "/home/tao/projects";
|
||||||
# "pictures".path = "/home/tao/pictures";
|
# "pictures".path = "/home/tao/pictures";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.snapper.configs = {
|
||||||
|
home = {
|
||||||
|
SUBVOLUME = "/home";
|
||||||
|
ALLOW_USERS = ["tao"];
|
||||||
|
TIMELINE_CREATE = true;
|
||||||
|
TIMELINE_CLEANUP = true;
|
||||||
|
TIMELINE_LIMIT_HOURLY = "5";
|
||||||
|
TIMELINE_LIMIT_DAILY = "7";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
services.snapper.snapshotInterval = "*:0/5";
|
||||||
|
|
||||||
hardware.keyboard.qmk.enable = true;
|
hardware.keyboard.qmk.enable = true;
|
||||||
# services.udev.extraRules = ''
|
# services.udev.extraRules = ''
|
||||||
# KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl"
|
# KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue