dockercompat&sops
All checks were successful
Nix Build / build-nixos (push) Successful in 5m57s

This commit is contained in:
soraefir 2024-04-21 10:24:22 +02:00
parent 8a09c870d7
commit 29eeb04fac
Signed by: sora
GPG Key ID: A362EA0491E2EEA0
3 changed files with 9 additions and 5 deletions

View File

@ -9,6 +9,7 @@
podman = {
enable = true;
dockerSocket.enable = true;
dockerCompat = true;
defaultNetwork.settings.dnsname.enable = true;
};
};

View File

@ -1,11 +1,12 @@
{ config,pkgs, ... }:
{ config, pkgs, ... }:
let
in {
virtualisation.arion = {
backend = "podman-socket";
projects = {
cloud.settings = import ./docker/cloud.nix {inherit config pkgs;};
authentik.settings = import ./docker/authentik.nix {inherit config pkgs;};
cloud.settings = import ./docker/cloud.nix { inherit config pkgs; };
authentik.settings =
import ./docker/authentik.nix { inherit config pkgs; };
};
};
}

View File

@ -1,8 +1,10 @@
{ config, pkgs, ... }:
let
isCI = builtins.elem config.syscfg.hostname [ "ci" "sandbox" ];
keyFilePath =
(if isCI then "./mock-key.txt" else "/var/lib/sops-nix/age-key.txt");
keyFilePath = (if isCI then
"/var/lib/sops-nix/mock-key.txt"
else
"/var/lib/sops-nix/age-key.txt");
sopsFilePath = (if isCI then ./mock.yaml else ./common.yaml);
in {
environment.systemPackages = with pkgs; [ sops ];