Fixes some modules

This commit is contained in:
Aleksandr Lebedev 2025-08-13 19:55:59 +02:00
parent ac021571c3
commit 92cbc59876
4 changed files with 19 additions and 21 deletions

View file

@ -20,15 +20,15 @@ in {
enable = mkBoolOpt false "Enable Bottles";
};
config = mkIf cfg.enable (mkIf impermanence.enable {
home.persistence."${impermanence.persistentStorage}".directories = [
config = mkIf cfg.enable {
home.packages = with pkgs; [bottles];
home.persistence = mkIf impermanence.enable {
"${impermanence.persistentStorage}".directories = [
{
directory = ".local/share/bottles";
method = "symlink";
}
];
}
// {
home.packages = with pkgs; [bottles];
});
};
};
}

View file

@ -20,16 +20,15 @@ in {
enable = mkBoolOpt false "Enable Nheko - Matrix client written in C++";
};
config = mkIf cfg.enable (mkIf impermanence.enable {
home.persistence."${impermanence.persistentStorage}".directories = [
config = mkIf cfg.enable {
programs.nheko.enable = true;
home.persistence = mkIf impermanence.enable {
"${impermanence.persistentStorage}".directories = [
".config/nheko"
".local/share/nheko"
".cache/nheko"
];
}
// {
programs.nheko = {
enable = true;
};
});
};
};
}

View file

@ -20,15 +20,15 @@ in {
enable = mkBoolOpt false "Enable prismlauncher";
};
config = mkIf cfg.enable (mkIf impermanence.enable {
home.persistence."${impermanence.persistentStorage}".directories = [
config = mkIf cfg.enable {
home.packages = with pkgs; [prismlauncher];
home.persistence = mkIf impermanence.enable {
"${impermanence.persistentStorage}".directories = [
{
directory = ".local/share/Prismlauncher";
method = "symlink";
}
];
}
// {
home.packages = with pkgs; [prismlauncher];
});
};
};
}

View file

@ -31,7 +31,6 @@ in {
yad
protonup-qt
protontricks
bottles
];
programs.steam = {
enable = true;