From 246326c215cec7a047b506b9bd13149f65bca658 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 9 Jun 2022 09:07:54 -0700 Subject: 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 --- profiles/default.nix | 2 +- profiles/trusted/default.nix | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 profiles/trusted/default.nix (limited to 'profiles') 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; - }; -} -- cgit 1.4.1