Update system and randomize MAC

Updated packages and their names
Fixed randomize mac address
Updated zen.nix to fix the config
This commit is contained in:
2026-04-15 15:54:09 +02:00
parent c8042ef095
commit b419708566
5 changed files with 27 additions and 23 deletions
Generated
+15 -15
View File
@@ -69,11 +69,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1772408722, "lastModified": 1775087534,
"narHash": "sha256-rHuJtdcOjK7rAHpHphUb1iCvgkU3GpfvicLMwwnfMT0=", "narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "f20dc5d9b8027381c474144ecabc9034d6a839a3", "rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -110,11 +110,11 @@
"utils": "utils" "utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1775098031, "lastModified": 1776184213,
"narHash": "sha256-OfHMljT9Z053S4Tuw3YCaicXZy5ROzvmzCpBqRlSYa0=", "narHash": "sha256-0F+Snir+cD8HRGlf0vpvkhyjUT9HI6Qr+Z3JmUlEtSU=",
"owner": "schembriaiden", "owner": "schembriaiden",
"repo": "helium-browser-nix-flake", "repo": "helium-browser-nix-flake",
"rev": "d79ff6e1c30e93f621ac0d27b0057ff9ee811c1a", "rev": "6ae2aaea1a019b8f52886041e6779919d1c1cc60",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -166,11 +166,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1773552174, "lastModified": 1775970782,
"narHash": "sha256-mHSRNrT1rjeYBgkAlj07dW3+1nFEgAd8Gu6lgyfT9DU=", "narHash": "sha256-7jt9Vpm48Yy5yAWigYpde+HxtYEpEuyzIQJF4VYehhk=",
"owner": "Mic92", "owner": "Mic92",
"repo": "nix-index-database", "repo": "nix-index-database",
"rev": "8faeb68130df077450451b6734a221ba0d6cde42", "rev": "bedba5989b04614fc598af9633033b95a937933f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -181,11 +181,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1773734432, "lastModified": 1775710090,
"narHash": "sha256-IF5ppUWh6gHGHYDbtVUyhwy/i7D261P7fWD1bPefOsw=", "narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "cda48547b432e8d3b18b4180ba07473762ec8558", "rev": "4c1018dae018162ec878d42fec712642d214fdfa",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -264,11 +264,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1773722260, "lastModified": 1775710180,
"narHash": "sha256-U8MsSiqqYZHR3oKE+cCZ2AJt3b4LcXs+oQuNLipaO78=", "narHash": "sha256-sCokvdNvl8zIzsnjgG0TN5h3RUI7GJyWW9ErfmEj0rM=",
"owner": "youwen5", "owner": "youwen5",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "0e6e43342fb3e9a3439fafa777d8cdf98e4ffc49", "rev": "2c138beb648d1cbbfae76695a8230ee04e4db25a",
"type": "github" "type": "github"
}, },
"original": { "original": {
+3 -3
View File
@@ -12,11 +12,11 @@ in {
system.activationScripts.zenArkenfoxUserJs = lib.stringAfter ["users"] '' system.activationScripts.zenArkenfoxUserJs = lib.stringAfter ["users"] ''
zen_dir="${homeDir}/.config/zen" zen_dir="${homeDir}/.config/zen"
if [ -d "$zen_dir" ]; then if [ -d "$zen_dir" ]; then
for profile in "$zen_dir"/*/; do for profile in "$zen_dir"/*; do
if [ -f "$profile/prefs.js" ]; then [ -f "$profile/prefs.js" ] && (
runuser -u someone -- ${pkgs.curl}/bin/curl -A Lix -sL -o "$profile/user.js" \ runuser -u someone -- ${pkgs.curl}/bin/curl -A Lix -sL -o "$profile/user.js" \
"https://git.severijnse.eu/jory/user.js/raw/branch/master/user.js" "https://git.severijnse.eu/jory/user.js/raw/branch/master/user.js"
fi )
done done
fi fi
''; '';
+2 -2
View File
@@ -26,7 +26,7 @@
bun bun
fastfetch fastfetch
act act
protonvpn-gui proton-vpn
wl-mirror wl-mirror
pavucontrol pavucontrol
@@ -44,7 +44,7 @@
inkscape inkscape
scrcpy scrcpy
android-tools android-tools
swww awww
openvpn openvpn
]; ];
} }
+2 -2
View File
@@ -24,8 +24,8 @@ in {
["ashell"] ["ashell"]
["elephant"] ["elephant"]
["copyq"] ["copyq"]
["swww-daemon"] ["awww-daemon"]
["swww" "img" "/etc/nixos/background.jpg" "--transition-type" "grow" "--transition-pos" "center" "--transition-duration" "3"] ["awww" "img" "/etc/nixos/background.jpg" "--transition-type" "grow" "--transition-pos" "center" "--transition-duration" "3"]
]; ];
input = { input = {
+5 -1
View File
@@ -12,12 +12,16 @@
enable = true; enable = true;
dns = "none"; dns = "none";
wifi.powersave = true; wifi.powersave = true;
randomMacAddress = true;
plugins = with pkgs; [ plugins = with pkgs; [
networkmanager-openvpn networkmanager-openvpn
]; ];
}; };
# MAC address randomization via wpa_supplicant
wireless.extraConfig = ''
mac_addr=1
'';
useDHCP = false; useDHCP = false;
dhcpcd.enable = false; dhcpcd.enable = false;
}; };