summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-11-11 18:20:09 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-11-11 18:20:09 +0100
commit526031b0c58bf1c4189085709bf7bc62b63262ad (patch)
tree8864c32953f61c1cdc108388b991c86e722771e4
parent9d8e88d5042a750aca92141adf2942bcd50fc9db (diff)
downloadnixos-526031b0c58bf1c4189085709bf7bc62b63262ad.tar
nixos-526031b0c58bf1c4189085709bf7bc62b63262ad.tar.gz
nixos-526031b0c58bf1c4189085709bf7bc62b63262ad.tar.bz2
nixos-526031b0c58bf1c4189085709bf7bc62b63262ad.tar.xz
nixos-526031b0c58bf1c4189085709bf7bc62b63262ad.zip
...
-rw-r--r--accounts/gkleen@eostre.nix33
-rw-r--r--accounts/mherold@eostre.nix11
2 files changed, 33 insertions, 11 deletions
diff --git a/accounts/gkleen@eostre.nix b/accounts/gkleen@eostre.nix
index dbe48ead..cad7e70b 100644
--- a/accounts/gkleen@eostre.nix
+++ b/accounts/gkleen@eostre.nix
@@ -4,20 +4,31 @@
4 zsh utils tmux 4 zsh utils tmux
5 ]; 5 ];
6 6
7 config.home-manager.users.${userName} = { 7 config = {
8 nixpkgs.config = { 8 systemd.services."home-manager-${userName}" = {
9 allowUnfree = true; 9 bindsTo = ["home-${userName}.mount"];
10 after = ["home-${userName}.mount"];
10 }; 11 };
11 12
12 home.packages = with pkgs; [ 13 systemd.mounts."home-${userName}" = {
13 thunderbird libreoffice element-desktop keepassxc 14 wants = ["home-manager-${userName}.service"];
14 ]; 15 };
16
17 home-manager.users.${userName} = {
18 nixpkgs.config = {
19 allowUnfree = true;
20 };
21
22 home.packages = with pkgs; [
23 thunderbird libreoffice element-desktop keepassxc
24 ];
15 25
16 programs.firefox = { 26 programs.firefox = {
17 enable = true; 27 enable = true;
18 profiles.default.settings = { 28 profiles.default.settings = {
19 "dom.security.https_only_mode" = true; 29 "dom.security.https_only_mode" = true;
20 "browser.cache.disk.enable" = false; 30 "browser.cache.disk.enable" = false;
31 };
21 }; 32 };
22 }; 33 };
23 }; 34 };
diff --git a/accounts/mherold@eostre.nix b/accounts/mherold@eostre.nix
index ab1bf154..538a3903 100644
--- a/accounts/mherold@eostre.nix
+++ b/accounts/mherold@eostre.nix
@@ -4,6 +4,15 @@
4 hashedPassword = lib.mkForce "$6$rounds=500000$TaikR1KI4CGveV0a$jLrBjNScflgniUiy87zxQ.IjnyK8K7FbYTW7L0k0EBVrdiImds26WwNjA6DrQpENALwPMzJVIK5BTie17fFVG."; 4 hashedPassword = lib.mkForce "$6$rounds=500000$TaikR1KI4CGveV0a$jLrBjNScflgniUiy87zxQ.IjnyK8K7FbYTW7L0k0EBVrdiImds26WwNjA6DrQpENALwPMzJVIK5BTie17fFVG.";
5 }; 5 };
6 6
7 systemd.services."home-manager-${userName}" = {
8 bindsTo = ["home-${userName}.mount"];
9 after = ["home-${userName}.mount"];
10 };
11
12 systemd.mounts."home-${userName}" = {
13 wants = ["home-manager-${userName}.service"];
14 };
15
7 home-manager.users.${userName} = { 16 home-manager.users.${userName} = {
8 nixpkgs.config = { 17 nixpkgs.config = {
9 allowUnfree = true; 18 allowUnfree = true;
@@ -13,6 +22,8 @@
13 thunderbird libreoffice element-desktop keepassxc 22 thunderbird libreoffice element-desktop keepassxc
14 ]; 23 ];
15 24
25 home.keyboard.layout = "de";
26
16 programs.firefox = { 27 programs.firefox = {
17 enable = true; 28 enable = true;
18 profiles.default.settings = { 29 profiles.default.settings = {