Add more server-centered modules for cli and networking

This commit is contained in:
JuliusFreudenberger 2025-01-18 20:46:29 +02:00
parent 59620edd40
commit 5bb38778db
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,9 @@
{
pkgs,
lib,
...
}: {
networking = {
useDHCP = true;
};
}

18
modules/server-cli.nix Normal file
View file

@ -0,0 +1,18 @@
{
pkgs,
lib,
...
}: {
environment.systemPackages = with pkgs; [
wget
curl
git
btrfs-progs
];
programs = {
htop.enable = true;
vim.enable = true;
};
}