self-hosting/environment.nix

12 lines
253 B
Nix
Raw Permalink Normal View History

2023-07-12 03:39:07 +02:00
{ pkgs, nixpkgs, ... }: {
2024-03-12 04:25:58 +01:00
environment.systemPackages = with pkgs; [ htop-vim nload tmux vim git ];
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
}