summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-06-02 06:03:34 -0700
committerFuwn <[email protected]>2025-06-02 06:07:18 -0700
commit4417f8a26160ad13eee138b4f7f073f8dd29672e (patch)
tree1d968880fa744215c107c79af27b977ff0244974 /hosts
parentNara: Add cargo-msrv brew (diff)
downloadnixos-config-4417f8a26160ad13eee138b4f7f073f8dd29672e.tar.xz
nixos-config-4417f8a26160ad13eee138b4f7f073f8dd29672e.zip
Himeji: Conditional container pull policy
Diffstat (limited to 'hosts')
-rw-r--r--hosts/himeji/configuration.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/himeji/configuration.nix b/hosts/himeji/configuration.nix
index d4c6044..05362ff 100644
--- a/hosts/himeji/configuration.nix
+++ b/hosts/himeji/configuration.nix
@@ -1,4 +1,4 @@
-{ self, ... }:
+{ config, self, ... }:
{
imports = [
./hardware-configuration.nix
@@ -20,7 +20,7 @@
extraOptions = [
"--restart=on-failure"
- "--pull=newer"
+ "--pull=${if config.modules.containers.engine == "podman" then "newer" else "always"}"
];
};
};