diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-24 12:33:29 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-24 12:33:29 -0700 |
commit | 713f439b807b6ebdc9cb6e8ea459544c49cace78 (patch) | |
tree | 13645ba5d4425b80ed4e43678ed3ffac7c751f9a | |
parent | alacritty: use custom colors (diff) | |
download | world-713f439b807b6ebdc9cb6e8ea459544c49cace78.tar.gz |
gcloud: add google-cloud-sdk on trusted hosts
Diffstat (limited to '')
-rw-r--r-- | home/default.nix | 1 | ||||
-rw-r--r-- | home/gcloud/default.nix | 10 | ||||
-rw-r--r-- | profiles/trusted/default.nix | 1 |
3 files changed, 12 insertions, 0 deletions
diff --git a/home/default.nix b/home/default.nix index 71fbd14..694d630 100644 --- a/home/default.nix +++ b/home/default.nix @@ -12,6 +12,7 @@ ./firefox ./fish ./flac + ./gcloud ./git ./go ./gpg diff --git a/home/gcloud/default.nix b/home/gcloud/default.nix new file mode 100644 index 0000000..0f6262b --- /dev/null +++ b/home/gcloud/default.nix @@ -0,0 +1,10 @@ +{ config, lib, pkgs, ... }: +let cfg = config.my.home.gcloud; +in { + options.my.home.gcloud = with lib; { + enable = mkEnableOption "google cloud sdk"; + }; + + config = + lib.mkIf cfg.enable { home.packages = with pkgs; [ google-cloud-sdk ]; }; +} diff --git a/profiles/trusted/default.nix b/profiles/trusted/default.nix index 95f0645..927ba45 100644 --- a/profiles/trusted/default.nix +++ b/profiles/trusted/default.nix @@ -13,6 +13,7 @@ in { pinentry = "gnome3"; defaultKey = "23348B57F01D4234B5CFBA0923208AC01EB6EEA1"; }; + my.home.gcloud.enable = true; my.home.mail.enable = true; my.home.pass.enable = true; my.home.seahorse.enable = isEnabled; |