mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
23 lines
489 B
Nix
23 lines
489 B
Nix
_: {
|
|
home-manager.sharedModules = [
|
|
({config, ...}: {
|
|
xdg.systemDirs.data = [
|
|
"/var/lib/flatpak/exports/share"
|
|
"/home/${config.home.username}/.local/share/flatpak/exports/share/"
|
|
];
|
|
})
|
|
];
|
|
services.flatpak = {
|
|
enable = true;
|
|
update.auto = {
|
|
enable = true;
|
|
onCalendar = "weekly";
|
|
};
|
|
remotes = [
|
|
{
|
|
name = "flathub";
|
|
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
|
|
}
|
|
];
|
|
};
|
|
}
|