yuki: init kanboard

This commit is contained in:
notohh 2023-06-10 05:03:50 -04:00
parent 49afe97926
commit 021da4d0b7
Signed by: notohh
GPG key ID: BD47506D475EE86D
4 changed files with 21 additions and 11 deletions

View file

@ -1,12 +1,10 @@
{
config,
pkgs,
...
}: {
{...}: {
imports = [
./hardware-configuration.nix
./services
../../modules
];
boot.loader = {
systemd-boot = {
enable = true;
@ -26,5 +24,4 @@
layout = "us";
xkbVariant = "";
};
services.openssh.enable = true;
}

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{...}: {
imports = [
../../home
];

View file

@ -0,0 +1,5 @@
{...}: {
imports = [
./kanboard.nix
];
}

View file

@ -0,0 +1,12 @@
{...}: {
virtualisation.oci-containers.containers.kanboard = {
image = "kanboard/kanboard";
ports = [
"8080:80"
];
volumes = [
"/var/lib/kanboard/kanboard_data:/var/www/app/data"
"/var/lib/kanboard/kanboard_plugins:/var/www/app/plugins"
];
};
}