mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
fixed hosts
This commit is contained in:
parent
e263c06ff5
commit
ff8f14890d
2 changed files with 4 additions and 4 deletions
|
|
@ -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 = {
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue