From 2068b655da8ca4abde6814294974aa132fbedd1d Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Tue, 16 May 2023 19:41:06 +0200 Subject: [PATCH] nixpkgs and snapper update --- flake.lock | 18 +++++++++--------- hosts/thinkpad/modules/snapper/default.nix | 20 ++++++++------------ 2 files changed, 17 insertions(+), 21 deletions(-) diff --git a/flake.lock b/flake.lock index 37615ea..c01a6a4 100644 --- a/flake.lock +++ b/flake.lock @@ -23,11 +23,11 @@ ] }, "locked": { - "lastModified": 1684157850, - "narHash": "sha256-xGHTCgvAxO5CgAL6IAgE/VGRX2wob2Y+DPyqpXJ32oQ=", + "lastModified": 1684189380, + "narHash": "sha256-GUp9OkZynocyppLur1VX8oAjtXGue0oKRHbsksOMUm0=", "owner": "nix-community", "repo": "home-manager", - "rev": "c0deab0effd576e70343cb5df0c64428e0e0d010", + "rev": "b7d814c5744dca7e70b3dc2638f06568dce96ca6", "type": "github" }, "original": { @@ -44,11 +44,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1684167111, - "narHash": "sha256-0JKyr8WOpcXJP5XaLnUSI7e1d7N5Rcpyf72+N4ZEtjo=", + "lastModified": 1684255384, + "narHash": "sha256-u8NIuk2ZTGECWTUPlNkv6iLllTbplTg0hBSKQZwAWZw=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "5b84b0fb445bc4485510bba516c84141aaeafd04", + "rev": "b5b9af508ab74b1922bc3354d178ebf457db631e", "type": "github" }, "original": { @@ -196,11 +196,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1684139381, - "narHash": "sha256-YPLMeYE+UzxxP0qbkBzv3RBDvyGR5I4d7v2n8dI3+fY=", + "lastModified": 1684215771, + "narHash": "sha256-fsum28z+g18yreNa1Y7MPo9dtps5h1VkHfZbYQ+YPbk=", "owner": "nixos", "repo": "nixpkgs", - "rev": "17a689596b72d1906883484838eb1aaf51ab8001", + "rev": "963006aab35e3e8ebbf6052b6bf4ea712fdd3c28", "type": "github" }, "original": { diff --git a/hosts/thinkpad/modules/snapper/default.nix b/hosts/thinkpad/modules/snapper/default.nix index 2c74b68..0b17903 100644 --- a/hosts/thinkpad/modules/snapper/default.nix +++ b/hosts/thinkpad/modules/snapper/default.nix @@ -3,20 +3,16 @@ services.snapper = { configs = { home = { - subvolume = "/home"; - extraConfig = '' - ALLOW_USERS="rouven" - TIMELINE_CREATE=yes - TIMELINE_CLEANUP=yes - ''; + SUBVOLUME = "/home"; + ALLOW_USERS = [ "rouven" ]; + TIMELINE_CREATE = true; + TIMELINE_CLEANUP = true; }; lib = { - subvolume = "/var/lib"; - extraConfig = '' - ALLOW_USERS="rouven" - TIMELINE_CREATE=yes - TIMELINE_CLEANUP=yes - ''; + SUBVOLUME = "/var/lib"; + ALLOW_USERS = [ "rouven" ]; + TIMELINE_CREATE = true; + TIMELINE_CLEANUP = true; }; }; };