Compare commits

..

2 commits

Author SHA1 Message Date
GaspardCulis
5bff8ead3b feat: Added deploy-rs to devShell environment 2024-09-26 10:31:34 +02:00
GaspardCulis
9600f18ada feat(OVHCloud -> hw-config): Added simple firewall config
Using nftables
2024-09-26 10:24:32 +02:00
3 changed files with 12 additions and 4 deletions

View file

@ -29,5 +29,5 @@ In order to deploy new configuration changes after the initial NixOS installatio
Then you can deploy the new configuration:
```sh
nix run github:serokell/deploy-rs .#<configuration name>
deploy .#<configuration name>
```

View file

@ -98,12 +98,13 @@
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
devShells.${system}.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
packages = with pkgs; [
alejandra
git
helix
pkgs.home-manager
alejandra
nil
pkgs.home-manager
pkgs.deploy-rs
];
shellHook = ''

View file

@ -8,4 +8,11 @@
efiSupport = true;
efiInstallAsRemovable = true;
};
# Firewall
networking.nftables.enable = true;
networking.firewall = {
enable = true;
allowedTCPPorts = [22 80 443];
};
}