Merge networking.nix and cleanup
This commit is contained in:
parent
7c553dbf9a
commit
abd055702b
5 changed files with 97 additions and 91 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue