mirror of https://git.jolheiser.com/ugit.git
Compare commits
2 Commits
0db8cc06a5
...
9f2748ccc9
Author | SHA1 | Date |
---|---|---|
jolheiser | 9f2748ccc9 | |
jolheiser | 55ccb61fb3 |
|
@ -0,0 +1,22 @@
|
|||
theme "catppuccin-mocha"
|
||||
layout {
|
||||
pane {
|
||||
name "ide"
|
||||
command "nix"
|
||||
args "develop"
|
||||
size "90%"
|
||||
}
|
||||
pane split_direction="vertical" {
|
||||
pane {
|
||||
name "run"
|
||||
command "go"
|
||||
args "run" "./cmd/ugitd"
|
||||
start_suspended true
|
||||
}
|
||||
pane {
|
||||
name "watch"
|
||||
command "nix"
|
||||
args "develop" "--command" "nu" "-c" "watch --glob *.templ ./internal/html/ {|| go generate ./...}"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -149,7 +149,7 @@
|
|||
args = ["--config=${configFile}" "--repo-dir=${cfg.repoDir}" "--ssh.authorized-keys=${authorizedKeysPath}" "--ssh.host-key=${cfg.hostKeyFile}"] ++ lib.optionals cfg.debug ["--debug"];
|
||||
in "${cfg.package}/bin/ugitd ${builtins.concatStringsSep " " args}";
|
||||
wantedBy = ["multi-user.target"];
|
||||
after = ["network-online.target"];
|
||||
after = ["network.target"];
|
||||
path = [cfg.package pkgs.git pkgs.bash];
|
||||
serviceConfig = {
|
||||
User = cfg.user;
|
||||
|
|
Loading…
Reference in New Issue