mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-25 21:30:52 +01:00
feat: set ipv6 gustave
This commit is contained in:
parent
358a8fe9c2
commit
da5f1f82fd
2 changed files with 9 additions and 4 deletions
|
@ -116,6 +116,13 @@ let
|
|||
arch = "x86_64-linux";
|
||||
nixpkgs_version = inputs.nixpkgs;
|
||||
hm_version = inputs.home-manager;
|
||||
ipv4 = {
|
||||
public = "82.67.34.230";
|
||||
local = "192.168.0.90";
|
||||
};
|
||||
ipv6 = {
|
||||
public = "2a01:e0a:de4:a0e1:eb2:aaaa::45";
|
||||
};
|
||||
};
|
||||
|
||||
core-security = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -11,8 +11,6 @@
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
deployment.targetHost = lib.mkForce "192.168.0.126";
|
||||
|
||||
disko = import ./disko.nix;
|
||||
|
||||
systemd.network.enable = true;
|
||||
|
@ -25,7 +23,7 @@
|
|||
# start a DHCP Client for IPv4 Addressing/Routing
|
||||
DHCP = "ipv4";
|
||||
# accept Router Advertisements for Stateless IPv6 Autoconfiguraton (SLAAC)
|
||||
IPv6AcceptRA = true;
|
||||
Address = "2a01:e0a:de4:a0e1:eb2:aaaa::45";
|
||||
};
|
||||
# make routing on this interface a dependency for network-online.target
|
||||
linkConfig.RequiredForOnline = "routable";
|
||||
|
|
Loading…
Add table
Reference in a new issue