snapper for minecrfat
This commit is contained in:
parent
c46ab19f76
commit
508656800c
5 changed files with 18 additions and 18 deletions
|
|
@ -3,4 +3,16 @@
|
|||
temurin-jre-bin-17
|
||||
];
|
||||
networking.firewall.allowedTCPPorts = [25565];
|
||||
|
||||
services.snapper.configs = {
|
||||
home = {
|
||||
SUBVOLUME = "/home";
|
||||
ALLOW_USERS = ["mc"];
|
||||
TIMELINE_CREATE = true;
|
||||
TIMELINE_CLEANUP = true;
|
||||
TIMELINE_LIMIT_HOURLY = "5";
|
||||
TIMELINE_LIMIT_DAILY = "7";
|
||||
};
|
||||
};
|
||||
services.snapper.snapshotInterval = "*:0/5";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@
|
|||
./extras/gaming.nix
|
||||
nixos-cosmic.nixosModules.default
|
||||
./extras/cosmic.nix
|
||||
./extras/ssrov-laptop.nix
|
||||
# ./extras/ssrov-laptop.nix
|
||||
];
|
||||
};
|
||||
NOmom = nixpkgs.lib.nixosSystem {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
...
|
||||
}: {
|
||||
users.users.tao.packages = with pkgs; [
|
||||
freerdp
|
||||
nixos-anywhere
|
||||
cloud-hypervisor
|
||||
# fractal
|
||||
|
|
@ -16,7 +17,6 @@
|
|||
# tectonic
|
||||
# texlab
|
||||
# toastify
|
||||
# virt-manager
|
||||
# wkhtmltopdf
|
||||
appimage-run
|
||||
aspell
|
||||
|
|
@ -67,9 +67,9 @@
|
|||
programs.kdeconnect.enable = true;
|
||||
environment.shells = with pkgs; [nushell];
|
||||
|
||||
# virt
|
||||
# programs.dconf.enable = true;
|
||||
# virtualisation.libvirtd.enable = true;
|
||||
virtualisation.libvirtd.enable = true;
|
||||
virtualisation.spiceUSBRedirection.enable = true;
|
||||
programs.virt-manager.enable = true;
|
||||
|
||||
age.secrets.syncthing-NOcomputer.file = ../secrets/syncthing-NOcomputer.age;
|
||||
age.secrets.syncthing-NOlaptop.file = ../secrets/syncthing-NOlaptop.age;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue