fix: add hostnames to hosts

This commit is contained in:
Benjamin Bädorf 2023-10-03 14:55:54 +02:00
parent 516e028a0c
commit f85e520f00
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
6 changed files with 7 additions and 1 deletions

View file

@ -21,6 +21,7 @@ in {
hardware.cpu.intel.updateMicrocode = true; hardware.cpu.intel.updateMicrocode = true;
networking.hostName = "biolimo";
networking.networkmanager.wifi.backend = mkForce "wpa_supplicant"; networking.networkmanager.wifi.backend = mkForce "wpa_supplicant";
services.printing.drivers = [ services.printing.drivers = [

View file

@ -44,6 +44,7 @@ in {
pub-solar.paperless.scannerDefaultDevice = "hp3900:libusb:005:004"; pub-solar.paperless.scannerDefaultDevice = "hp3900:libusb:005:004";
services.openssh.openFirewall = true; services.openssh.openFirewall = true;
networking.hostName = "chocolatebar";
networking.firewall.allowedTCPPorts = networking.firewall.allowedTCPPorts =
[443] [443]
++ ( ++ (

View file

@ -19,6 +19,8 @@ in {
hardware.cpu.intel.updateMicrocode = true; hardware.cpu.intel.updateMicrocode = true;
networking.hostName = "droppie";
pub-solar.core.disk-encryption-active = false; pub-solar.core.disk-encryption-active = false;
pub-solar.core.lite = true; pub-solar.core.lite = true;

View file

@ -5,6 +5,7 @@
... ...
}: { }: {
# Use Network Manager # Use Network Manager
networking.hostName = "maoam";
networking.wireless.enable = false; networking.wireless.enable = false;
networking.networkmanager.enable = true; networking.networkmanager.enable = true;

View file

@ -29,6 +29,7 @@ in {
pub-solar.core.disk-encryption-active = false; pub-solar.core.disk-encryption-active = false;
pub-solar.core.lite = true; pub-solar.core.lite = true;
networking.hostName = "pie";
networking.defaultGateway = { networking.defaultGateway = {
address = "192.168.178.1"; address = "192.168.178.1";
interface = "enabcm6e4ei0"; interface = "enabcm6e4ei0";

View file

@ -60,7 +60,7 @@
nix.nixPath = [ nix.nixPath = [
"nixpkgs=${inputs.nixpkgs}" "nixpkgs=${inputs.nixpkgs}"
"nixos-config=${./lib/compat/nixos}" "nixos-config=${../lib/compat/nixos}"
"home-manager=${inputs.home-manager}" "home-manager=${inputs.home-manager}"
]; ];
}) })