From ec0e5f1c2599da2113de2b380cab0d07c62bcc6b Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 28 Feb 2025 16:21:00 -0600 Subject: [PATCH] feat: random wifi mac --- flake.nix | 4 ++-- lib/modules/home/default.nix | 1 - packages/hosts/foxtrot.nix | 7 ++++++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 8ecba5f..d2fb116 100644 --- a/flake.nix +++ b/flake.nix @@ -89,7 +89,7 @@ extra-substituters = [ "https://cache.nixos.org/" "https://nix-community.cachix.org" - "https://nix.h.lyte.dev" + # "https://nix.h.lyte.dev" # since we are forcing most inputs to follow our nixpkgs, we don't bother settings up caches and just use our own # "https://helix.cachix.org" @@ -99,7 +99,7 @@ extra-trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" - "h.lyte.dev-2:te9xK/GcWPA/5aXav8+e5RHImKYMug8hIIbhHsKPN0M=" + # "h.lyte.dev-2:te9xK/GcWPA/5aXav8+e5RHImKYMug8hIIbhHsKPN0M=" # "helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs=" # "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" diff --git a/lib/modules/home/default.nix b/lib/modules/home/default.nix index 4fd3b89..a123a61 100644 --- a/lib/modules/home/default.nix +++ b/lib/modules/home/default.nix @@ -440,7 +440,6 @@ in screensaver = [ "l" ]; # lock screen mic-mute = [ "v" ]; }; - "org/gnome/desktop/peripherals/touchpad" = { disable-while-typing = false; }; diff --git a/packages/hosts/foxtrot.nix b/packages/hosts/foxtrot.nix index 7a04e45..dfed806 100644 --- a/packages/hosts/foxtrot.nix +++ b/packages/hosts/foxtrot.nix @@ -33,7 +33,12 @@ framework-13-7040-amd ]; - networking.networkmanager.wifi.powersave = false; + networking.networkmanager = { + wifi = { + macAddress = "random"; + powersave = false; + }; + }; hardware = { framework.amd-7040.preventWakeOnAC = true; bluetooth = {