wow
This commit is contained in:
parent
96507a547d
commit
423b918222
3 changed files with 14 additions and 6 deletions
|
|
@ -15,6 +15,9 @@ with pkgs;
|
|||
davinci-resolve
|
||||
kdePackages.kdenlive
|
||||
|
||||
android-tools
|
||||
android-cli
|
||||
|
||||
# waterfox-bin
|
||||
# inputs.waterfox.packages.${pkgs.system}.waterfox
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
let
|
||||
amiaBot = pkgs.rustPlatform.buildRustPackage {
|
||||
pname = "discord-profile-widget-bot";
|
||||
pname = "amia";
|
||||
version = "0.1.0";
|
||||
src = inputs.amiaBot;
|
||||
cargoLock.lockFile = "${inputs.amiaBot}/Cargo.lock";
|
||||
|
|
@ -26,6 +26,8 @@ in
|
|||
neovim
|
||||
nil
|
||||
nixd
|
||||
bind
|
||||
dig
|
||||
];
|
||||
|
||||
programs.git.config = {
|
||||
|
|
@ -42,13 +44,16 @@ in
|
|||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
unitConfig.ConditionPathExists = "/home/imnyang/amia/config.toml";
|
||||
path = [
|
||||
pkgs.bind.dnsutils
|
||||
];
|
||||
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
User = "imnyang";
|
||||
WorkingDirectory = "/home/imnyang/amia";
|
||||
UMask = "0077";
|
||||
ExecStart = "${amiaBot}/bin/discord-profile-widget-bot";
|
||||
ExecStart = "${amiaBot}/bin/amia";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "5s";
|
||||
NoNewPrivileges = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue