From 17597526c5695a13cf3c157b54f2f40c903112c7 Mon Sep 17 00:00:00 2001 From: alexion Date: Wed, 30 Sep 2026 11:22:38 -0400 Subject: [PATCH] refactor(dotfiles): inline MAC octet helper --- src/dotfiles/util.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dotfiles/util.nix b/src/dotfiles/util.nix index a38ca34..5f87cff 100644 --- a/src/dotfiles/util.nix +++ b/src/dotfiles/util.nix @@ -30,12 +30,11 @@ in deriveMac = name: let - octet = i: builtins.substring (i * 2) 2 hash; hash = builtins.hashString "sha256" name; in lib.concatStringsSep ":" ( [ "02" ] - ++ map octet [ + ++ map (i: builtins.substring (i * 2) 2 hash) [ 0 1 2