Merge networking.nix and cleanup

This commit is contained in:
monologiq 2025-12-24 16:56:09 +01:00
parent 7c553dbf9a
commit abd055702b
5 changed files with 97 additions and 91 deletions

View file

@ -1,5 +1,12 @@
{ pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
let
inherit (lib) mkDefault;
in
{
environment.systemPackages = with pkgs; [
curl
@ -8,6 +15,11 @@
wget
];
networking = {
hostName = "${config.machine.hostName}";
useDHCP = mkDefault true;
};
nix.package = pkgs.lixPackageSets.stable.lix;
nix.settings = {