mirror of
https://github.com/genebean/dots.git
synced 2026-03-28 01:47:42 -04:00
Networking
This commit is contained in:
parent
46c825d7a4
commit
d09d68e986
3 changed files with 11 additions and 46 deletions
|
|
@ -1,9 +1,10 @@
|
|||
{ config, pkgs, username, ... }: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./disk-config.nix
|
||||
./post-install
|
||||
../../common/linux/nixroutes.nix
|
||||
./disk-config.nix
|
||||
./hardware-configuration.nix
|
||||
./post-install
|
||||
inputs.private-flake.nixosModules.private.hetznix01
|
||||
];
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
|
@ -85,18 +86,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
networks."10-wan" = {
|
||||
matchConfig.Name = "enp1s0";
|
||||
address = config.private-flake.hetznix01.networkAddresses;
|
||||
dns = config.private-flake.hetznix01.dnsServers;
|
||||
routes = config.private-flake.hetznix01.networkRoutes;
|
||||
# make the routes on this interface a dependency for network-online.target
|
||||
linkConfig.RequiredForOnline = "routable";
|
||||
};
|
||||
};
|
||||
|
||||
users.users.${username} = {
|
||||
isNormalUser = true;
|
||||
description = "Gene Liverman";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue