Move all the individual stored impermanence folders to specific files

This commit is contained in:
Bun 2025-04-29 20:54:29 -04:00
parent 57201099fb
commit dbd5ea69cd
19 changed files with 178 additions and 160 deletions

View file

@ -1,14 +1,22 @@
{ config, lib, pkgs, ... }:
{
home.packages = with pkgs; lib.mkIf config.home.gaming.enable [
heroic
prismlauncher
steam
steam-run-free
];
config = lib.mkIf config.home.gaming.enable {
home.packages = with pkgs; [
heroic
prismlauncher
steam
steam-run-free
];
nixpkgs.allowUnfreePackages = [
"steam"
"steam-unwrapped"
];
home.persistence."/persist${config.home.homeDirectory}".directories = [
".config/heroic"
".local/share/PrismLauncher"
".local/share/Steam"
];
nixpkgs.allowUnfreePackages = [
"steam"
"steam-unwrapped"
];
};
}

View file

@ -1,8 +1,11 @@
{ config, lib, pkgs, ... }:
{
home.packages = with pkgs; lib.mkIf config.home.desktop.enable [
libreoffice
qbittorrent
vesktop
];
home = lib.mkIf config.home.desktop.enable {
packages = with pkgs; [
libreoffice
qbittorrent
vesktop
];
persistence."/persist${config.home.homeDirectory}".directories = [ ".config/vesktop" ];
};
}

View file

@ -1,11 +1,17 @@
{ config, lib, pkgs, blender, ... }:
{
config = lib.mkIf config.home.production.enable {
nixpkgs.overlays = [ blender.overlays.default ];
home.packages = with pkgs; [
nixpkgs.overlays = [ blender.overlays.default ];
home = lib.mkIf config.home.production.enable {
packages = with pkgs; [
audacity
blender_4_4
krita
];
persistence."/persist${config.home.homeDirectory}".directories = [
".config/audacity"
".config/blender"
".local/share/krita"
];
};
}