fixed hosts

This commit is contained in:
Bryan Ramos 2024-05-12 21:05:31 -04:00
parent e263c06ff5
commit ff8f14890d
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
2 changed files with 4 additions and 4 deletions

View file

@ -86,7 +86,7 @@
}; };
networking = { networking = {
hostName = "archimedes"; hostName = "server";
useDHCP = lib.mkDefault true; useDHCP = lib.mkDefault true;
networkmanager.enable = true; networkmanager.enable = true;
firewall = { firewall = {

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }: { config, lib, ... }:
{ {
imports = [ imports = [
@ -7,13 +7,13 @@
wsl = { wsl = {
enable = true; enable = true;
defaultUser = pkgs.lib.mkDefault "${config.user.name}"; defaultUser = lib.mkDefault config.user.name;
nativeSystemd = true; nativeSystemd = true;
wslConf = { wslConf = {
boot.command = "cd"; boot.command = "cd";
network = { network = {
hostname = "plato"; hostname = "wsl";
generateHosts = true; generateHosts = true;
}; };
}; };