Fixes some modules
This commit is contained in:
parent
ac021571c3
commit
92cbc59876
4 changed files with 19 additions and 21 deletions
|
|
@ -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];
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ in {
|
|||
yad
|
||||
protonup-qt
|
||||
protontricks
|
||||
bottles
|
||||
];
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue