mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
its time
This commit is contained in:
parent
cc18493707
commit
6fff6d1845
673 changed files with 1070 additions and 124971 deletions
22
homeConfig/modules/browsers/default.nix
Normal file
22
homeConfig/modules/browsers/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ pkgs, lib, config, me, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.browsers;
|
||||
|
||||
in
|
||||
{ options.modules.browsers = { enable = mkEnableOption "browsers"; };
|
||||
config = mkIf cfg.enable {
|
||||
programs.firefox = {
|
||||
enabled = true;
|
||||
profiles.${me} = import (config/${me}.nix) { inherit pkgs; };
|
||||
};
|
||||
|
||||
home.packages = [
|
||||
google-chrome
|
||||
(tor-browser-bundle-bin.override {
|
||||
useHardenedMalloc = false; # NixOS bug requires this
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue