blob: cad7e70bb1373ba420f85e1c9c27727a2d7c786e (
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
26
27
28
29
30
31
32
33
34
35
|
{ flake, userName, pkgs, ... }:
{
imports = with flake.nixosModules.userProfiles.${userName}; [
zsh utils tmux
];
config = {
systemd.services."home-manager-${userName}" = {
bindsTo = ["home-${userName}.mount"];
after = ["home-${userName}.mount"];
};
systemd.mounts."home-${userName}" = {
wants = ["home-manager-${userName}.service"];
};
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;
};
};
};
};
}
|