system: desktop: set stable-uuid for IPv6 DUID for NM by default
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2024-07-18 22:07:00 +02:00
parent 9f3d20bcac
commit a169c5e3f6
Signed by: c8h4
GPG key ID: 6817E9C75C0785D7
2 changed files with 12 additions and 2 deletions

View file

@ -50,6 +50,9 @@
networking.interfaces.eno1.wakeOnLan.enable = true;
networking.networkmanager.connectionConfig."ipv6.dhcp-duid" =
my.machines.zero.duid;
home-manager.users.christoph = {
my = {
applications.personal.enable = true;

View file

@ -1,3 +1,5 @@
{ lib, ... }:
{
imports = [ ../common ../system/home-manager ../services/openssh.nix ];
@ -24,8 +26,13 @@
home-manager.users.christoph.imports = [ ./home-manager/desktop.nix ];
# NetworkManager for setting up and managing VPNs.
networking.networkmanager.enable = true;
# NetworkManager for easier setup and management of dynamic networks on desktops
networking.networkmanager = {
enable = true;
# https://wiki.archlinux.org/title/NetworkManager#Configure_a_unique_DUID_per_connection
connectionConfig."ipv6.dhcp-duid" = lib.mkDefault "stable-uuid";
};
users.users.christoph.extraGroups = [ "networkmanager" ];
programs.ssh = {