mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 00:58:16 +00:00
20 lines
537 B
Nix
20 lines
537 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./hardware.nix ];
|
|
|
|
# Use the systemd-boot EFI boot loader.
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
networking.hostName = "hermes"; # Define your hostname.
|
|
|
|
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
|
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
|
# replicates the default behaviour.
|
|
networking.useDHCP = false;
|
|
networking.interfaces.wlp61s0.useDHCP = true;
|
|
|
|
}
|
|
|