Refactor: delete overkill layers
This commit is contained in:
parent
94fc05580d
commit
1e2e108797
6 changed files with 85 additions and 119 deletions
|
|
@ -12,9 +12,18 @@ in {
|
|||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware.nix
|
||||
../../profiles/server-selfhosted.nix
|
||||
../../modules/services/ftp.nix
|
||||
../../modules/common/nix.nix
|
||||
../../modules/roles/server.nix
|
||||
../../modules/common/base.nix
|
||||
../../modules/common/smtp.nix
|
||||
../../modules/common/qemu.nix
|
||||
|
||||
../../modules/services/goaccess.nix
|
||||
../../modules/services/wikijs.nix
|
||||
../../modules/services/forgejo.nix
|
||||
../../modules/sites/porzh.me.nix
|
||||
../../modules/sites/levr.porzh.me.nix
|
||||
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
|
|
@ -48,7 +57,32 @@ in {
|
|||
environment.systemPackages = with pkgs; [
|
||||
neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
git
|
||||
|
||||
btrfs-progs
|
||||
cifs-utils
|
||||
lm_sensors
|
||||
wakeonlan
|
||||
wget
|
||||
curl
|
||||
ripgrep
|
||||
fd
|
||||
pciutils
|
||||
usbutils
|
||||
p7zip
|
||||
gdu
|
||||
glances
|
||||
tmux
|
||||
|
||||
];
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
PubkeyAuthentication = true;
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
useNetworkd = true;
|
||||
firewall.allowedTCPPorts = [22 80 5900 5901 5902];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue