diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-03 15:12:16 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-03 15:12:16 -0700 |
commit | b72274ab06b4c160fc8d3afe8e2d67863c893a58 (patch) | |
tree | b00c3b128d55d1f51395243902c0dea60fe7df4b /users/fcuny | |
parent | Revert "create a new role for navidrome" (diff) | |
download | world-b72274ab06b4c160fc8d3afe8e2d67863c893a58.tar.gz |
home-manager: add `isTrusted`
Install and configure some programs only on trusted machines. On trusted machines, my mails, GPG and a few other things are configured. A machine where this is not needed on a regular basis to get things done don't need that much information. Also rename `desktop/trust` to `trusted`, in case we want these packages on a host that is not a desktop, and `trusted` is a better description.
Diffstat (limited to 'users/fcuny')
-rw-r--r-- | users/fcuny/default.nix | 5 | ||||
-rw-r--r-- | users/fcuny/desktop/default.nix | 1 | ||||
-rw-r--r-- | users/fcuny/trusted/default.nix (renamed from users/fcuny/desktop/trust/default.nix) | 0 | ||||
-rw-r--r-- | users/fcuny/trusted/email.nix (renamed from users/fcuny/desktop/trust/email.nix) | 0 | ||||
-rw-r--r-- | users/fcuny/trusted/git-pass-mapping.ini (renamed from users/fcuny/desktop/trust/git-pass-mapping.ini) | 0 | ||||
-rw-r--r-- | users/fcuny/trusted/git.nix (renamed from users/fcuny/desktop/trust/git.nix) | 0 | ||||
-rw-r--r-- | users/fcuny/trusted/pass.nix (renamed from users/fcuny/desktop/trust/pass.nix) | 0 | ||||
-rw-r--r-- | users/fcuny/trusted/pgp.nix (renamed from users/fcuny/desktop/trust/pgp.nix) | 0 |
8 files changed, 3 insertions, 3 deletions
diff --git a/users/fcuny/default.nix b/users/fcuny/default.nix index 32145dd..cf70f50 100644 --- a/users/fcuny/default.nix +++ b/users/fcuny/default.nix @@ -1,7 +1,8 @@ -{ config, lib, pkgs, isDesktop, ... }: +{ config, lib, pkgs, isDesktop, isTrusted, ... }: { - imports = [ ./cli ./devel ] ++ (if isDesktop then [ ./desktop ] else [ ]); + imports = [ ./cli ./devel ] ++ (if isDesktop then [ ./desktop ] else [ ]) + ++ (if isTrusted then [ ./trusted ] else [ ]); programs.home-manager.enable = true; diff --git a/users/fcuny/desktop/default.nix b/users/fcuny/desktop/default.nix index 106e5c9..7450444 100644 --- a/users/fcuny/desktop/default.nix +++ b/users/fcuny/desktop/default.nix @@ -9,7 +9,6 @@ ./scanner-printer ./syncthing.nix ./terminal.nix - ./trust ./wm ./xdg.nix ./theme.nix diff --git a/users/fcuny/desktop/trust/default.nix b/users/fcuny/trusted/default.nix index 575d3e6..575d3e6 100644 --- a/users/fcuny/desktop/trust/default.nix +++ b/users/fcuny/trusted/default.nix diff --git a/users/fcuny/desktop/trust/email.nix b/users/fcuny/trusted/email.nix index 3bb6bd2..3bb6bd2 100644 --- a/users/fcuny/desktop/trust/email.nix +++ b/users/fcuny/trusted/email.nix diff --git a/users/fcuny/desktop/trust/git-pass-mapping.ini b/users/fcuny/trusted/git-pass-mapping.ini index 5c5177b..5c5177b 100644 --- a/users/fcuny/desktop/trust/git-pass-mapping.ini +++ b/users/fcuny/trusted/git-pass-mapping.ini diff --git a/users/fcuny/desktop/trust/git.nix b/users/fcuny/trusted/git.nix index 52607a3..52607a3 100644 --- a/users/fcuny/desktop/trust/git.nix +++ b/users/fcuny/trusted/git.nix diff --git a/users/fcuny/desktop/trust/pass.nix b/users/fcuny/trusted/pass.nix index a552318..a552318 100644 --- a/users/fcuny/desktop/trust/pass.nix +++ b/users/fcuny/trusted/pass.nix diff --git a/users/fcuny/desktop/trust/pgp.nix b/users/fcuny/trusted/pgp.nix index 79ed7dd..79ed7dd 100644 --- a/users/fcuny/desktop/trust/pgp.nix +++ b/users/fcuny/trusted/pgp.nix |