mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-26 05:58:20 -04:00
test docker compose automation with nix
This commit is contained in:
parent
6f1153ebc4
commit
13ed337bec
6 changed files with 117 additions and 0 deletions
28
common/users/docker/vw/default.nix
Normal file
28
common/users/docker/vw/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
imports = [
|
||||
../../homeModules/sops.nix
|
||||
];
|
||||
home = {
|
||||
file = {
|
||||
vw = {
|
||||
source = ./docker_compose.nix;
|
||||
target = "./src/vw/docker_compose.yml";
|
||||
};
|
||||
};
|
||||
};
|
||||
sops = {
|
||||
secrets = {
|
||||
vw = {
|
||||
format = "env";
|
||||
sopsFile = ./vw.env;
|
||||
path = "/home/${config.home.username}/src/vw/vw.env";
|
||||
};
|
||||
vw_backup = {
|
||||
format = "env";
|
||||
sopsFile = ./backup.env;
|
||||
path = "/home/${config.home.username}/src/vw/backup.env";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue