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 | |
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 '')
-rw-r--r-- | hosts/aptos/home.nix | 10 | ||||
-rw-r--r-- | hosts/aptos/profile.nix | 5 | ||||
-rw-r--r-- | hosts/aptos/services.nix | 2 | ||||
-rw-r--r-- | hosts/carmel/home.nix | 10 | ||||
-rw-r--r-- | profiles/default.nix | 2 | ||||
-rw-r--r-- | profiles/trusted/default.nix | 22 |
6 files changed, 24 insertions, 27 deletions
diff --git a/hosts/aptos/home.nix b/hosts/aptos/home.nix index c7ef977..9efab9e 100644 --- a/hosts/aptos/home.nix +++ b/hosts/aptos/home.nix @@ -13,5 +13,15 @@ vlc.enable = true; mpv.enable = true; sublime-music.enable = true; + ssh.enable = true; + gpg = { + enable = true; + pinentry = "gnome3"; + defaultKey = "23348B57F01D4234B5CFBA0923208AC01EB6EEA1"; + }; + gcloud.enable = true; + mail.enable = true; + pass.enable = true; + seahorse.enable = true; }; } diff --git a/hosts/aptos/profile.nix b/hosts/aptos/profile.nix index 3195d52..f3f5d4e 100644 --- a/hosts/aptos/profile.nix +++ b/hosts/aptos/profile.nix @@ -1,7 +1,4 @@ { ... }: { - my.profiles = { - desktop.enable = true; - trusted.enable = true; - }; + my.profiles = { desktop.enable = true; }; } diff --git a/hosts/aptos/services.nix b/hosts/aptos/services.nix index 5e98947..ce89f43 100644 --- a/hosts/aptos/services.nix +++ b/hosts/aptos/services.nix @@ -8,6 +8,8 @@ in { # Enable TLP power management tlp.enable = true; + syncthing.enable = true; + backup = { enable = true; user = "fcuny"; diff --git a/hosts/carmel/home.nix b/hosts/carmel/home.nix index c7ef977..9efab9e 100644 --- a/hosts/carmel/home.nix +++ b/hosts/carmel/home.nix @@ -13,5 +13,15 @@ vlc.enable = true; mpv.enable = true; sublime-music.enable = true; + ssh.enable = true; + gpg = { + enable = true; + pinentry = "gnome3"; + defaultKey = "23348B57F01D4234B5CFBA0923208AC01EB6EEA1"; + }; + gcloud.enable = true; + mail.enable = true; + pass.enable = true; + seahorse.enable = true; }; } 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; - }; -} |