summaryrefslogtreecommitdiff
path: root/accounts/mherold@eos.nix
blob: ab1bf154843e54a1b1d0b827cf272055160277ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ userName, pkgs, lib, ... }: {
  config = {
    users.users.${userName} = {
      hashedPassword = lib.mkForce "$6$rounds=500000$TaikR1KI4CGveV0a$jLrBjNScflgniUiy87zxQ.IjnyK8K7FbYTW7L0k0EBVrdiImds26WwNjA6DrQpENALwPMzJVIK5BTie17fFVG.";
    };

    home-manager.users.${userName} = {
      nixpkgs.config = {
        allowUnfree = true;
      };

      home.packages = with pkgs; [
        thunderbird libreoffice element-desktop keepassxc
      ];

      programs.firefox = {
        enable = true;
        profiles.default.settings = {
          "dom.security.https_only_mode" = true;
          "browser.cache.disk.enable" = false;
        };
      };
    };
  };
}