aboutsummaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-02-24 17:24:47 +0100
committerAdrian Kummerlaender2019-02-24 17:24:47 +0100
commit68e680721c875c5b677b5c60e754cdf81cc0e909 (patch)
tree7ed5c71e5ed55f4ec54b014f53ad7d8ad3fd771d /tasks
parenta9de76d55ac705e8a50decfba2f11e81fe81b294 (diff)
downloadnixos_home-68e680721c875c5b677b5c60e754cdf81cc0e909.tar
nixos_home-68e680721c875c5b677b5c60e754cdf81cc0e909.tar.gz
nixos_home-68e680721c875c5b677b5c60e754cdf81cc0e909.tar.bz2
nixos_home-68e680721c875c5b677b5c60e754cdf81cc0e909.tar.lz
nixos_home-68e680721c875c5b677b5c60e754cdf81cc0e909.tar.xz
nixos_home-68e680721c875c5b677b5c60e754cdf81cc0e909.tar.zst
nixos_home-68e680721c875c5b677b5c60e754cdf81cc0e909.zip
Define type of task entries
Diffstat (limited to 'tasks')
-rw-r--r--tasks/default.nix19
1 files changed, 8 insertions, 11 deletions
diff --git a/tasks/default.nix b/tasks/default.nix
index 9fbee61..e851c24 100644
--- a/tasks/default.nix
+++ b/tasks/default.nix
@@ -1,35 +1,32 @@
-{ ... }:
+{ pkgs ? import <nixpkgs> { }, ... }:
{
custom.tasks = {
- "bsc_edit" = {
+ bsc_edit = {
description = "Grid refinement BSc thesis editor";
directory = "~/university/documents/bachelor/arbeit";
- terminal = false;
command = "nix-shell --run 'nvim-qt --no-ext-tabline'";
};
- "bsc_shell" = {
+ bsc_shell = {
description = "Grid refinement BSc thesis shell";
+ type = "terminal";
directory = "~/university/documents/bachelor/arbeit";
- terminal = true;
command = "nix-shell --command fish";
};
- "bsc_view" = {
+ bsc_view = {
description = "Grid refinement BSc thesis PDF";
directory = "~/university/documents/bachelor/arbeit";
- terminal = false;
command = "evince build/main.pdf";
};
- "olb_edit" = {
+ olb_edit = {
description = "OpenLB editor";
directory = "~/projects/contrib/openlb";
- terminal = false;
command = "nix-shell --run 'nvim-qt --no-ext-tabline'";
};
- "olb_shell" = {
+ olb_shell = {
description = "OpenLB shell";
+ type = "terminal";
directory = "~/projects/contrib/openlb";
- terminal = true;
command = "nix-shell --command fish";
};
};