mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Add common packages
This commit is contained in:
parent
d098f4bfbf
commit
1f5e31b0e8
2 changed files with 9 additions and 3 deletions
8
environment.nix
Normal file
8
environment.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
htop
|
||||||
|
nload
|
||||||
|
tmux
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
./hardware/hcloud.nix
|
./hardware/hcloud.nix
|
||||||
./modules/openssh.nix
|
./modules/openssh.nix
|
||||||
|
./environment.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
@ -27,9 +28,6 @@
|
||||||
modules = common.modules ++ [
|
modules = common.modules ++ [
|
||||||
./modules/postgresql.nix
|
./modules/postgresql.nix
|
||||||
({
|
({
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
htop
|
|
||||||
];
|
|
||||||
networking.hostName = "db1";
|
networking.hostName = "db1";
|
||||||
networking.domain = "banditlair.com";
|
networking.domain = "banditlair.com";
|
||||||
networking.firewall.interfaces."enp7s0".allowedTCPPorts = [ 5432 ];
|
networking.firewall.interfaces."enp7s0".allowedTCPPorts = [ 5432 ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue