diff options
author | Jasper Ras <jaspert.ras@gmail.com> | 2025-02-06 22:03:10 +0000 |
---|---|---|
committer | Jasper Ras <jaspert.ras@gmail.com> | 2025-02-06 22:19:49 +0000 |
commit | f71051f47158f57091306e269352d7579522e426 (patch) | |
tree | 3b112ddd10797c8669e9b68d483b205d49c3035b /home-manager/systemd/llama.nix | |
parent | 463f0d40c6ee02e5512269d2e370506a8ca8f965 (diff) |
bluurb
Diffstat (limited to 'home-manager/systemd/llama.nix')
-rw-r--r-- | home-manager/systemd/llama.nix | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/home-manager/systemd/llama.nix b/home-manager/systemd/llama.nix deleted file mode 100644 index 96c0d62..0000000 --- a/home-manager/systemd/llama.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ config, lib, pkgs, ... }: -let - homeDir = "${config.home.homeDirectory}"; - llamaDir = "${homeDir}/.llama"; - apache2Dir = "${homeDir}/.apache2"; - httpd = "${pkgs.apacheHttpd}/bin/httpd"; -in { - systemd.user.services.llama = { - Unit.Description = "Hostnet Apache LLama"; - Service = { - ExecStartPre = "${llamaDir}/se-vhosts.sh"; - ExecStart = "${httpd} -f ${llamaDir}/apache2.conf -DFOREGROUND"; - RestartSec = "2"; - Restart = "always"; - Environment = [ - "APACHE_RUN_DIR=${apache2Dir}" - "APACHE_CONFDIR=${llamaDir}" - "APACHE_RUN_USER=${config.home.username}" - "APACHE_RUN_GROUP=${config.home.username}" - "APACHE_PID_FILE=${homeDir}/.apache2.pid" - "APACHE_RUN_FILE=${apache2Dir}/run" - "APACHE_LOCK_FILE=${apache2Dir}/lock" - "APACHE_LOG_FILE=${apache2Dir}/log" - ]; - }; - Install.WantedBy = [ "default.target" ]; - }; -} |