diff options
author | Franck Cuny <franck@fcuny.net> | 2022-06-09 09:07:54 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-06-09 09:34:07 -0700 |
commit | 246326c215cec7a047b506b9bd13149f65bca658 (patch) | |
tree | 010032f6259f92ea087b5a2964287a46346fedee /profiles | |
parent | ref(multimedia): move multimedia modules to hosts (diff) | |
download | world-246326c215cec7a047b506b9bd13149f65bca658.tar.gz |
ref(trusted): consume modules within host's configuration
Remove the trusted profiles, the modules are installed directly within the host configuration. Change-Id: I0566fb359803da16bdd3a38e2901deac477fb078 Reviewed-on: https://cl.fcuny.net/c/world/+/293 Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/default.nix | 2 | ||||
-rw-r--r-- | profiles/trusted/default.nix | 22 |
2 files changed, 1 insertions, 23 deletions
diff --git a/profiles/default.nix b/profiles/default.nix index 059b945..1dcb283 100644 --- a/profiles/default.nix +++ b/profiles/default.nix @@ -1 +1 @@ -{ ... }: { imports = [ ./gtk ./trusted ./wm ./desktop ]; } +{ ... }: { imports = [ ./gtk ./wm ./desktop ]; } diff --git a/profiles/trusted/default.nix b/profiles/trusted/default.nix deleted file mode 100644 index 927ba45..0000000 --- a/profiles/trusted/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ config, lib, ... }: -let - cfg = config.my.profiles.trusted; - isEnabled = config.my.home.wm.windowManager == "sway"; -in { - options.my.profiles.trusted = with lib; { - enable = mkEnableOption "trusted profile"; - }; - config = lib.mkIf cfg.enable { - my.home.ssh.enable = true; - my.home.gpg = { - enable = true; - pinentry = "gnome3"; - defaultKey = "23348B57F01D4234B5CFBA0923208AC01EB6EEA1"; - }; - my.home.gcloud.enable = true; - my.home.mail.enable = true; - my.home.pass.enable = true; - my.home.seahorse.enable = isEnabled; - my.services.syncthing.enable = true; - }; -} |