Commit d82c02153785
Changed files (5)
modules/profiles/gcloud.nix
@@ -0,0 +1,20 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+let
+ cfg = config.profiles.cloud.google;
+in
+{
+ options = {
+ profiles.cloud.google = {
+ enable = mkOption {
+ default = false;
+ description = "Enable google cloud profile";
+ type = types.bool;
+ };
+ };
+ };
+ config = mkIf cfg.enable {
+ home.packages = with pkgs; [ google-cloud-sdk gcsfuse google-compute-engine ];
+ };
+}
modules/module-list.nix
@@ -16,6 +16,7 @@
./profiles/emacs.nix
./profiles/fish.nix
./profiles/gaming.nix
+ ./profiles/gcloud.nix
./profiles/git.nix
./profiles/i3.nix
./profiles/kubernetes.nix
devops.nix
@@ -2,8 +2,6 @@
{
home.packages = with pkgs; [
- google-cloud-sdk
packer
- spice_gtk
];
}
shikoku.nix
@@ -16,6 +16,7 @@
python.enable = true;
rust.enable = true;
};
+ profiles.cloud.google.enable = true;
profiles.containers = {
enable = true;
docker = true;
wakasu.nix
@@ -15,6 +15,7 @@
python.enable = true;
rust.enable = true;
};
+ profiles.cloud.google.enable = true;
profiles.containers = {
enable = true;
docker = true;