mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-10 04:49:19 -08:00
20 lines
469 B
Nix
20 lines
469 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"; }
|
|
];
|
|
};
|
|
}
|