Compare commits
2 commits
b8345d5e06
...
5bff8ead3b
Author | SHA1 | Date | |
---|---|---|---|
|
5bff8ead3b | ||
|
9600f18ada |
3 changed files with 12 additions and 4 deletions
|
@ -29,5 +29,5 @@ In order to deploy new configuration changes after the initial NixOS installatio
|
||||||
Then you can deploy the new configuration:
|
Then you can deploy the new configuration:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
nix run github:serokell/deploy-rs .#<configuration name>
|
deploy .#<configuration name>
|
||||||
```
|
```
|
||||||
|
|
|
@ -98,12 +98,13 @@
|
||||||
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
|
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
|
||||||
|
|
||||||
devShells.${system}.default = pkgs.mkShell {
|
devShells.${system}.default = pkgs.mkShell {
|
||||||
nativeBuildInputs = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
alejandra
|
||||||
git
|
git
|
||||||
helix
|
helix
|
||||||
pkgs.home-manager
|
|
||||||
alejandra
|
|
||||||
nil
|
nil
|
||||||
|
pkgs.home-manager
|
||||||
|
pkgs.deploy-rs
|
||||||
];
|
];
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
|
|
@ -8,4 +8,11 @@
|
||||||
efiSupport = true;
|
efiSupport = true;
|
||||||
efiInstallAsRemovable = true;
|
efiInstallAsRemovable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Firewall
|
||||||
|
networking.nftables.enable = true;
|
||||||
|
networking.firewall = {
|
||||||
|
enable = true;
|
||||||
|
allowedTCPPorts = [22 80 443];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue