workstation virtually...done!
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
imports = [ ./base.nix ];
|
||||
options.my.scripts.tasks.enable = lib.mkEnableOption "enable";
|
||||
config = lib.mkIf config.my.scripts.tasks.enable {
|
||||
my.script = {
|
||||
install = true;
|
||||
service = true;
|
||||
name = "tasks";
|
||||
timer = "*:0/10";
|
||||
description = "runs a bunch of organizing tasks on selected directories";
|
||||
package =
|
||||
pkgs.writeScriptBin "tasks" (builtins.readFile ../../scripts/tasks.sh);
|
||||
};
|
||||
config.my.scripts.tasks = {
|
||||
enable = true;
|
||||
install = true;
|
||||
service = true;
|
||||
name = "tasks";
|
||||
timer = "*:0/10";
|
||||
description = "Runs a bunch of organizing tasks on selected directories";
|
||||
package =
|
||||
pkgs.writeScriptBin "tasks" (builtins.readFile ../../scripts/tasks.sh);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user