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:
parent
9f6bcc4441
commit
68c413212d
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -24,6 +24,10 @@ with lib; {
|
||||
dev.enable = true;
|
||||
};
|
||||
|
||||
networking = {
|
||||
firewall.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
alacritty.terminfo
|
||||
bintools
|
||||
|
||||
@ -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
|
||||
];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user