Commit 105695874e45

Vincent Demeester <vincent@sbr.pm>
2018-04-29 21:46:58
Extract fish configuration to a file…
… and share the configuration from envs to system. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent ba22c23
Changed files (2)
profiles/desktop.nix
@@ -9,6 +9,7 @@
 		./scanning.nix
 		./avahi.nix
 		./syncthing.nix
+    ./fish.nix
 	];
 
   programs = {
profiles/fish.nix
@@ -0,0 +1,9 @@
+{ configs, pkgs, ...}:
+
+{
+  programs.fish = {
+    enable = true;
+  };
+  environment.etc."fish/functions/fish_prompt.fish".source = ../envs/fish/fish_prompt.fish;
+  environment.etc."fish/functions/fish_right_prompt.fish".source = ../envs/fish/fish_right_prompt.fish;
+}