Compare commits

...

2 Commits

Author SHA1 Message Date
jolheiser 9f2748ccc9
feat: add zellij layout
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2024-03-20 16:12:55 -05:00
jolheiser 55ccb61fb3
fix: update nix module systemd after
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2024-03-20 14:55:54 -05:00
2 changed files with 23 additions and 1 deletions

22
contrib/layout.kdl 100644
View File

@ -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 ./...}"
}
}
}

View File

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