28 lines
665 B
Nix
28 lines
665 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
systemd.user.services.ollama = {
|
|
description = "Ollama Server Autostart";
|
|
after = [ "graphical-session.target" ];
|
|
wantedBy = [ "default.target" ];
|
|
serviceConfig = {
|
|
Type = "simple";
|
|
ExecStart = "${pkgs.ollama}/bin/ollama serve";
|
|
};
|
|
};
|
|
|
|
|
|
# systemd.user.services.obs-studio = {
|
|
# description = "OBS Studio Autostart mit Flags";
|
|
# after = [ "graphical-session.target" ];
|
|
# wantedBy = [ "default.target" ];
|
|
# serviceConfig = {
|
|
# Type = "simple";
|
|
# ExecStart = "${pkgs.obs-studio}/bin/obs --startreplaybuffer --disable-shutdown-check";
|
|
# Restart = "on-failure";
|
|
# };
|
|
# };
|
|
|
|
}
|