This commit is contained in:
Tao Tien 2024-03-29 12:51:49 -07:00
parent a85f11e974
commit cad62788ce
6 changed files with 36 additions and 22 deletions

View file

@ -26,6 +26,18 @@
# extraBackends = [ pkgs.epkowa ];
# };
services.snapper.configs = {
home = {
SUBVOLUME = "/home";
ALLOW_USERS = ["vy" "tao"];
TIMELINE_CREATE = true;
TIMELINE_CLEANUP = true;
TIMELINE_LIMIT_HOURLY = "5";
TIMELINE_LIMIT_DAILY = "7";
};
};
services.snapper.snapshotInterval = "*:0/5";
services.udev.extraRules = ''
# Ethernet expansion card
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0bda", ATTR{idProduct}=="8156", ATTR{power/autosuspend}="20"