Skip to content

Commit

Permalink
wireguard working
Browse files Browse the repository at this point in the history
  • Loading branch information
legendofmiracles committed Sep 14, 2023
1 parent 4b8158c commit 0ae33c8
Show file tree
Hide file tree
Showing 9 changed files with 218 additions and 74 deletions.
14 changes: 12 additions & 2 deletions defaults-nixos.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,21 @@ in {
owner = "nix";
mode = "0444";
};
firefly-env = {
file = ./secrets/firefly-env.age;
services-env = {
file = ./secrets/services-env.age;
owner = "root";
mode = "0440";
};
backup-ssh-key = {
file = ./secrets/backup-ssh-key.age;
owner = "photoprism";
mode = "0400";
};
backup-encryption-pass = {
file = ./secrets/backup-encryption-pass.age;
owner = "photoprism";
mode = "0400";
};
};

environment = {
Expand Down
82 changes: 41 additions & 41 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -272,5 +272,13 @@
*/

overlays.default = import ./overlays;

devShells.x86_64-linux.default = inputs.nixpkgs.legacyPackages.x86_64-linux.mkShell {
name = "Secrets shell";
buildInputs = [
inputs.agenix.packages.x86_64-linux.agenix
];
EDITOR = "nvim";
};
};
}
Loading

0 comments on commit 0ae33c8

Please sign in to comment.