snapper for minecrfat

This commit is contained in:
Tao Tien 2024-06-26 13:40:11 -07:00
parent c46ab19f76
commit 508656800c
5 changed files with 18 additions and 18 deletions

View file

@ -39,7 +39,7 @@
powerManagement.enable = true;
# options: production, beta, vulkan_beta, latest
# package = pkgs.linuxPackages_latest.nvidiaPackages.latest;
package = pkgs.linuxPackages_zen.nvidiaPackages.latest;
package = pkgs.linuxPackages_zen.nvidiaPackages.beta;
# open = true;
};
# enable core and mem freq sliders for nvidia

View file

@ -25,18 +25,6 @@
# 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"