This commit is contained in:
2025-08-29 15:25:40 +02:00
parent 26440bfeee
commit f3821f0dfa
201 changed files with 2461 additions and 1546 deletions

View File

@@ -3,10 +3,12 @@
lib,
pkgs,
...
}: let
}:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.nixos.services.flatpak;
in {
in
{
options = {
nixos.services.flatpak.enable = mkEnableOption "Enables flatpaks and gnome software";
};
@@ -17,9 +19,9 @@ in {
];
systemd.services.flatpak-repo = {
description = "Add flathub repository";
after = ["network-online.target"];
wants = ["network-online.target"];
path = [pkgs.flatpak];
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
path = [ pkgs.flatpak ];
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
@@ -27,7 +29,7 @@ in {
Restart = "on-failure";
RestartSec = "5s";
};
wantedBy = ["multi-user.target"];
wantedBy = [ "multi-user.target" ];
};
};
}