self-hosting/environment.nix

12 lines
245 B
Nix
Raw Normal View History

2023-07-12 03:39:07 +02:00
{ pkgs, nixpkgs, ... }: {
environment.systemPackages = with pkgs; [ htop nload tmux vim ];
2023-07-12 03:39:07 +02:00
nix = { nixPath = [ "nixpkgs=${nixpkgs}" ]; };
2022-12-02 03:29:02 +01:00
services.nscd.enableNsncd = true;
2022-12-02 03:31:37 +01:00
2023-07-12 03:39:07 +02:00
services.fail2ban.enable = true;
2022-12-02 03:31:37 +01:00
zramSwap.enable = true;
2021-07-15 17:46:14 +02:00
}