dot

NixOS dotfiles
git clone https://git.echoz.io/dot.git
Log | Files | Refs

commit 467d5442e6e8bd16bbc2bc59b8d670d9f53711c5
parent cdc1ab05cc03a7b4c4ad59b4ff57ddfe0e604ce2
Author: Chris <chris@echoz.io>
Date:   Thu,  9 Oct 2025 02:57:15 +0200

feat: add basic networkmanager config

Diffstat:
Mhosts/rc/default.nix | 1+
Amodules/networkmanager/default.nix | 10++++++++++
Mmodules/static-uids-gids/default.nix | 5++++-
3 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/hosts/rc/default.nix b/hosts/rc/default.nix @@ -16,6 +16,7 @@ networking = { hostName = "rc"; hostId = "9cb48259"; + networkmanager.enable = true; }; boot = { diff --git a/modules/networkmanager/default.nix b/modules/networkmanager/default.nix @@ -0,0 +1,10 @@ +{ + lib, + config, + ... +}: +{ + config = lib.mkIf config.networking.networkmanager.enable { + environment.persistence."/fix".directories = [ "/etc/NetworkManager" ]; + }; +} diff --git a/modules/static-uids-gids/default.nix b/modules/static-uids-gids/default.nix @@ -1,7 +1,10 @@ { users = { users = { - dhcpcd.uid = 999; + dhcpcd = { + uid = 999; + group = "dhcpcd"; + }; flatpak.uid = 998; greeter.uid = 997; nscd.uid = 996;