Update flake, theme gtk, add vscode cache

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-06-25 11:10:32 +03:00
parent bedf27aa5f
commit 193c665aa4
11 changed files with 160 additions and 297 deletions

View File

@@ -20,9 +20,13 @@ mkdir -p /mnt/btrfs
mount /dev/mapper/luks /mnt/btrfs
if [[ -e /mnt/btrfs/root.bak ]]; then
for i in /mnt/btrfs/root.bak/*; do
delete_subvolume_recursively "$i"
done
if [ "$(ls -A /mnt/btrfs/root.bak)" ]; then
for i in /mnt/btrfs/root.bak/*; do
delete_subvolume_recursively "$i"
done
else
echo "/mnt/btrfs/root.bak is empty. Nothing to delete."
fi
fi
umount /mnt/btrfs

View File

@@ -29,9 +29,8 @@
};
};
opengl = {
driSupport = true;
driSupport32Bit = true;
graphics = {
enable32Bit = true;
extraPackages = with pkgs; [
amdvlk
driversi686Linux.amdvlk
@@ -65,6 +64,10 @@
];
};
theme = {
cursor.size = 24;
};
programs.zsh.loginExtra = lib.mkBefore ''
AMD=/dev/dri/by-path/pci-0000:06:00.0-card
NVIDIA=/dev/dri/by-path/pci-0000:01:00.0-card