Manage firefox config in nix

This commit is contained in:
Dave Gallant
2023-03-28 20:31:01 -04:00
parent 2480ef675d
commit 6df0b25b9b
3 changed files with 25 additions and 9 deletions

View File

@@ -53,6 +53,8 @@
virtualisation.podman.enable = true;
programs.zsh.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;

18
flake.lock generated
View File

@@ -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": {

View File

@@ -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;