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
|
temurin-jre-bin-17
|
||||||
];
|
];
|
||||||
networking.firewall.allowedTCPPorts = [25565];
|
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
|
./extras/gaming.nix
|
||||||
nixos-cosmic.nixosModules.default
|
nixos-cosmic.nixosModules.default
|
||||||
./extras/cosmic.nix
|
./extras/cosmic.nix
|
||||||
./extras/ssrov-laptop.nix
|
# ./extras/ssrov-laptop.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
NOmom = nixpkgs.lib.nixosSystem {
|
NOmom = nixpkgs.lib.nixosSystem {
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
# options: production, beta, vulkan_beta, latest
|
# options: production, beta, vulkan_beta, latest
|
||||||
# package = pkgs.linuxPackages_latest.nvidiaPackages.latest;
|
# package = pkgs.linuxPackages_latest.nvidiaPackages.latest;
|
||||||
package = pkgs.linuxPackages_zen.nvidiaPackages.latest;
|
package = pkgs.linuxPackages_zen.nvidiaPackages.beta;
|
||||||
# open = true;
|
# open = true;
|
||||||
};
|
};
|
||||||
# enable core and mem freq sliders for nvidia
|
# enable core and mem freq sliders for nvidia
|
||||||
|
|
|
||||||
|
|
@ -25,18 +25,6 @@
|
||||||
# extraBackends = [ pkgs.epkowa ];
|
# 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 = ''
|
services.udev.extraRules = ''
|
||||||
# Ethernet expansion card
|
# Ethernet expansion card
|
||||||
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0bda", ATTR{idProduct}=="8156", ATTR{power/autosuspend}="20"
|
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0bda", ATTR{idProduct}=="8156", ATTR{power/autosuspend}="20"
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
users.users.tao.packages = with pkgs; [
|
users.users.tao.packages = with pkgs; [
|
||||||
|
freerdp
|
||||||
nixos-anywhere
|
nixos-anywhere
|
||||||
cloud-hypervisor
|
cloud-hypervisor
|
||||||
# fractal
|
# fractal
|
||||||
|
|
@ -16,7 +17,6 @@
|
||||||
# tectonic
|
# tectonic
|
||||||
# texlab
|
# texlab
|
||||||
# toastify
|
# toastify
|
||||||
# virt-manager
|
|
||||||
# wkhtmltopdf
|
# wkhtmltopdf
|
||||||
appimage-run
|
appimage-run
|
||||||
aspell
|
aspell
|
||||||
|
|
@ -67,9 +67,9 @@
|
||||||
programs.kdeconnect.enable = true;
|
programs.kdeconnect.enable = true;
|
||||||
environment.shells = with pkgs; [nushell];
|
environment.shells = with pkgs; [nushell];
|
||||||
|
|
||||||
# virt
|
virtualisation.libvirtd.enable = true;
|
||||||
# programs.dconf.enable = true;
|
virtualisation.spiceUSBRedirection.enable = true;
|
||||||
# virtualisation.libvirtd.enable = true;
|
programs.virt-manager.enable = true;
|
||||||
|
|
||||||
age.secrets.syncthing-NOcomputer.file = ../secrets/syncthing-NOcomputer.age;
|
age.secrets.syncthing-NOcomputer.file = ../secrets/syncthing-NOcomputer.age;
|
||||||
age.secrets.syncthing-NOlaptop.file = ../secrets/syncthing-NOlaptop.age;
|
age.secrets.syncthing-NOlaptop.file = ../secrets/syncthing-NOlaptop.age;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue