yuki: init kanboard
This commit is contained in:
parent
49afe97926
commit
021da4d0b7
4 changed files with 21 additions and 11 deletions
|
@ -1,12 +1,10 @@
|
||||||
{
|
{...}: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
./services
|
||||||
../../modules
|
../../modules
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
systemd-boot = {
|
systemd-boot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -26,5 +24,4 @@
|
||||||
layout = "us";
|
layout = "us";
|
||||||
xkbVariant = "";
|
xkbVariant = "";
|
||||||
};
|
};
|
||||||
services.openssh.enable = true;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
{
|
{...}: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
imports = [
|
||||||
../../home
|
../../home
|
||||||
];
|
];
|
||||||
|
|
5
hosts/yuki/services/default.nix
Normal file
5
hosts/yuki/services/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{...}: {
|
||||||
|
imports = [
|
||||||
|
./kanboard.nix
|
||||||
|
];
|
||||||
|
}
|
12
hosts/yuki/services/kanboard.nix
Normal file
12
hosts/yuki/services/kanboard.nix
Normal 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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue