From 6df0b25b9bbe7dcf197f79c20d725e1d34ba2e59 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Tue, 28 Mar 2023 20:31:01 -0400 Subject: [PATCH] Manage firefox config in nix --- common/linux.nix | 2 ++ flake.lock | 18 +++++++++--------- home/default.nix | 14 ++++++++++++++ 3 files changed, 25 insertions(+), 9 deletions(-) diff --git a/common/linux.nix b/common/linux.nix index 4369437..7f8dd4d 100644 --- a/common/linux.nix +++ b/common/linux.nix @@ -53,6 +53,8 @@ virtualisation.podman.enable = true; + programs.zsh.enable = true; + programs.gnupg.agent = { enable = true; enableSSHSupport = true; diff --git a/flake.lock b/flake.lock index 6758963..0964dbc 100644 --- a/flake.lock +++ b/flake.lock @@ -28,11 +28,11 @@ "utils": "utils" }, "locked": { - "lastModified": 1679741227, - "narHash": "sha256-9k9oBF5/yU9MfX1VJ1sRali172V4uTylGdNkzqTEouA=", + "lastModified": 1680000368, + "narHash": "sha256-TlgC4IJ7aotynUdkGRtaAVxquaiddO38Ws89nB7VGY8=", "owner": "nix-community", "repo": "home-manager", - "rev": "2f8d24b7f57fdd404defe84626b08f3318612f8c", + "rev": "765e4007b6f9f111469a25d1df6540e8e0ca73a6", "type": "github" }, "original": { @@ -62,11 +62,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1679598117, - "narHash": "sha256-Vs1f/7imI77OkMOQhO3xgx4jalN2Gx3D3C2wmnlpWJM=", + "lastModified": 1679944521, + "narHash": "sha256-SipdMlnCv/pDvo/j7ctEGqKvQSmn2gcoHSJgIVysXbk=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "648021dcb2b65498eed3ea3a7339cdfc3bea4d82", + "rev": "82ecc5b88ffed8c0317c064dfd8f82f4b9882100", "type": "github" }, "original": { @@ -93,11 +93,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1679616449, - "narHash": "sha256-E6Fvb13mDFa1ZY4lDbTpKbjvUOA4gbh23GWRf3ZzOOw=", + "lastModified": 1679944645, + "narHash": "sha256-e5Qyoe11UZjVfgRfwNoSU57ZeKuEmjYb77B9IVW7L/M=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a64e169e396460d6b5763a1de1dd197df8421688", + "rev": "4bb072f0a8b267613c127684e099a70e1f6ff106", "type": "github" }, "original": { diff --git a/home/default.nix b/home/default.nix index e71ecd5..79cc344 100644 --- a/home/default.nix +++ b/home/default.nix @@ -438,6 +438,20 @@ in { # ms-python.python ]; }; + + firefox = { + enable = stdenv.isLinux; + + profiles = { + default = { + id = 0; + isDefault = true; + settings = { + "privacy.resistFingerprinting" = true; + }; + }; + }; + }; }; home.file.".Xmodmap".source = ./.Xmodmap;