From 3408d496679936443345d0162ac164990aaadac4 Mon Sep 17 00:00:00 2001 From: Cy Pokhrel Date: Fri, 22 Nov 2024 02:09:31 -0500 Subject: [PATCH] install steam and setup snapper --- nix/configuration.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/nix/configuration.nix b/nix/configuration.nix index c658dfd..f1a32b7 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -139,4 +139,24 @@ startAt = "hourly"; }; }; + + programs.steam.enable = true; + + services.snapper.configs = { + home = { + SUBVOLUME = "/home"; + ALLOW_USERS = [ "yt" ]; + TIMELINE_CREATE = true; + TIMELINE_CLEANUP = true; + TIMELINE_LIMIT_HOURLY = 48; + TIMELINE_LIMIT_WEEKLY = 52; + }; + root = { + SUBVOLUME = "/"; + TIMELINE_CREATE = true; + TIMELINE_CLEANUP = true; + TIMELINE_LIMIT_HOURLY = 48; + TIMELINE_LIMIT_WEEKLY = 52; + }; + }; }