1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-18 09:19:39 +01:00

Add firewall and update readme

This commit is contained in:
Stefan Ellmauthaler 2022-07-19 10:50:37 +02:00
parent 9f6bcc4441
commit 68c413212d
Signed by: ellmau
GPG Key ID: C804A9C1B7AF8256
4 changed files with 12 additions and 3 deletions

View File

@ -15,7 +15,7 @@ creation_rules:
- *stefan_ellmauthaler
- *nucturne
- path_regex: machines/metis/secrets/wireguard\.yaml
- path_regex: machines/metis/secrets/[^/]+\.yaml
key_groups:
- pgp:
- *stefan_ellmauthaler

View File

@ -18,4 +18,4 @@
* Rekey the secrets with either
* a master key
* or after a git push on another machine with enough permissions to rekey
* the flakes dev-shell (`nix devshell`) allows to use `sops <sops-file>` as well as `sops-rekey <sops-file>` to manage the keys on the system
* the flakes dev-shell (`nix develop`) allows to use `sops <sops-file>` as well as `sops-rekey <sops-file>` to manage the keys on the system

View File

@ -24,6 +24,10 @@ with lib; {
dev.enable = true;
};
networking = {
firewall.enable = true;
};
environment.systemPackages = with pkgs; [
alacritty.terminfo
bintools

View File

@ -11,5 +11,10 @@ in
pkgs.mkShell {
sopsPGPKeyDirs = [ ./keys/users ./keys/hosts ];
nativeBuildInputs = [ sops-nix.sops-import-keys-hook sops-nix.ssh-to-pgp sops-rekey ];
nativeBuildInputs = [
sops-nix.sops-import-keys-hook
sops-nix.ssh-to-pgp
sops-rekey
pkgs.wireguard-tools
];
}