workstation virtually...done!

This commit is contained in:
2024-05-11 22:57:41 -06:00
parent bdfbf790ec
commit 58878b21ed
10 changed files with 159 additions and 93 deletions

View File

@@ -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);
};
}