This commit is contained in:
parent
8a09c870d7
commit
29eeb04fac
@ -9,6 +9,7 @@
|
|||||||
podman = {
|
podman = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dockerSocket.enable = true;
|
dockerSocket.enable = true;
|
||||||
|
dockerCompat = true;
|
||||||
defaultNetwork.settings.dnsname.enable = true;
|
defaultNetwork.settings.dnsname.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -5,7 +5,8 @@ in {
|
|||||||
backend = "podman-socket";
|
backend = "podman-socket";
|
||||||
projects = {
|
projects = {
|
||||||
cloud.settings = import ./docker/cloud.nix { inherit config pkgs; };
|
cloud.settings = import ./docker/cloud.nix { inherit config pkgs; };
|
||||||
authentik.settings = import ./docker/authentik.nix {inherit config pkgs;};
|
authentik.settings =
|
||||||
|
import ./docker/authentik.nix { inherit config pkgs; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
isCI = builtins.elem config.syscfg.hostname [ "ci" "sandbox" ];
|
isCI = builtins.elem config.syscfg.hostname [ "ci" "sandbox" ];
|
||||||
keyFilePath =
|
keyFilePath = (if isCI then
|
||||||
(if isCI then "./mock-key.txt" else "/var/lib/sops-nix/age-key.txt");
|
"/var/lib/sops-nix/mock-key.txt"
|
||||||
|
else
|
||||||
|
"/var/lib/sops-nix/age-key.txt");
|
||||||
sopsFilePath = (if isCI then ./mock.yaml else ./common.yaml);
|
sopsFilePath = (if isCI then ./mock.yaml else ./common.yaml);
|
||||||
in {
|
in {
|
||||||
environment.systemPackages = with pkgs; [ sops ];
|
environment.systemPackages = with pkgs; [ sops ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user