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 = {
hostName = "archimedes";
hostName = "server";
useDHCP = lib.mkDefault true;
networkmanager.enable = true;
firewall = {

View file

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