From 698869fcbaf2ebd93116bda68c89eade1eebd793 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Thu, 17 Oct 2024 16:27:55 -0400 Subject: [PATCH] Add a snapshots btrfs subvolume --- hosts/firefly/system/hardware/default.nix | 5 +++++ modules/home/programs/gui/librewolf/default.nix | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/firefly/system/hardware/default.nix b/hosts/firefly/system/hardware/default.nix index 9c3b823..bdb1c4e 100644 --- a/hosts/firefly/system/hardware/default.nix +++ b/hosts/firefly/system/hardware/default.nix @@ -89,6 +89,11 @@ in { fsType = "btrfs"; options = [ "subvol=@var" "noatime" "nodiratime" "discard" ]; }; + "/.snapshots" = { + device = "/dev/disk/by-uuid/bbfed7d1-62f2-4d8e-b63f-7f6ec932105b"; + fsType = "btrfs"; + options = [ "subvol=@snapshots" "noatime" "nodiratime" "discard" ]; + }; "/boot" = { device = "/dev/disk/by-uuid/3B4A-76C9"; fsType = "vfat"; diff --git a/modules/home/programs/gui/librewolf/default.nix b/modules/home/programs/gui/librewolf/default.nix index a1e153e..83f1ef2 100644 --- a/modules/home/programs/gui/librewolf/default.nix +++ b/modules/home/programs/gui/librewolf/default.nix @@ -1,6 +1,6 @@ { pkgs, config, ... }: let - # FireFox colors + # FireFox colors, based on https://github.com/Dook97/firefox-qutebrowser-userchrome themeJim = '' :root { --tab-active-bg-color: #${config.look.colors.prime};