commit 40b2813e439956b8ceb3e992df7cf7155197da28
parent 5b650e6f2f7ad89be5b602fecfb25fdfceb2f96c
Author: Vincent Demeester <vincent@sbr.pm>
Date: Mon, 1 Oct 2018 16:37:20 +0200
shikoku: add openshift profile
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
3 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/fish/openshift.fish b/fish/openshift.fish
@@ -0,0 +1,9 @@
+function _def_openshift_nix_run_aliases
+ set -l packages openshift oc:openshift
+ for s in $packages
+ _nix_run_package $s nixpkgs
+ # _nix_run_package $s unstable ~/.config/nixpkgs/channels.nix
+ end
+end
+
+_def_openshift_nix_run_aliases
diff --git a/openshift.nix b/openshift.nix
@@ -0,0 +1,9 @@
+{ pkgs, ... }:
+
+{
+ xdg.configFile."fish/conf.d/openshift.fish".source = ./fish/openshift.fish;
+ home.packages = with pkgs; [
+ docker-machine-kvm
+ docker-machine-kvm2
+ ];
+}
diff --git a/shikoku.nix b/shikoku.nix
@@ -11,9 +11,10 @@
./dev.js.nix
./dev.java.nix
./dev.haskell.nix
- ./vscode.nix
./fish.nix
+ ./openshift.nix
./ssh.nix
+ ./vscode.nix
];
xdg.configFile."fish/conf.d/docker.fish".text = ''
set -gx DOCKER_BUILDKIT 1