This commit is contained in:
mjallen18
2025-11-16 20:18:13 -06:00
parent 1c1dc71cd7
commit 34b6399d24
2 changed files with 19 additions and 18 deletions

View File

@@ -11,6 +11,7 @@ in
{ {
imports = [ ./options.nix ]; imports = [ ./options.nix ];
config = mkIf cfg.enable {
virtualisation.oci-containers.containers."${cfg.name}" = { virtualisation.oci-containers.containers."${cfg.name}" = {
autoStart = cfg.autoStart; autoStart = cfg.autoStart;
image = cfg.image; image = cfg.image;
@@ -29,4 +30,5 @@ in
TZ = cfg.timeZone; TZ = cfg.timeZone;
}; };
}; };
};
} }

View File

@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kavishdevar"; owner = "kavishdevar";
repo = "librepods"; repo = "librepods";
rev = "main"; rev = "55d1a69b21f37df3f3668a6f2ab21675c2c42243";
hash = "sha256-8kSrV9XgbfzPZ5kEL1J0ovzs+hT0GxacUDjT0eJdmKU="; hash = "sha256-8kSrV9XgbfzPZ5kEL1J0ovzs+hT0GxacUDjT0eJdmKU=";
}; };
@@ -44,7 +44,6 @@ stdenv.mkDerivation rec {
"--prefix QT_PLUGIN_PATH : ${qt6.qtbase}/lib/qt6/plugins" "--prefix QT_PLUGIN_PATH : ${qt6.qtbase}/lib/qt6/plugins"
]; ];
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
cp librepods $out/bin/ cp librepods $out/bin/