Add comin as a possible deployment solution
More info: https://github.com/nlewo/comin/
This commit is contained in:
parent
ecd03b901d
commit
f5b52fe270
3 changed files with 45 additions and 1 deletions
21
flake.lock
21
flake.lock
|
@ -71,6 +71,26 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"comin": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1724145018,
|
||||||
|
"narHash": "sha256-6R5CeMgr3EGKhqWPkqtteOtix7hBaurfpjHepiq2OrU=",
|
||||||
|
"owner": "nlewo",
|
||||||
|
"repo": "comin",
|
||||||
|
"rev": "84ef9af404b9157eab2c5e3e44d7c29239329901",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nlewo",
|
||||||
|
"repo": "comin",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"crane": {
|
"crane": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat_3",
|
"flake-compat": "flake-compat_3",
|
||||||
|
@ -627,6 +647,7 @@
|
||||||
"anyrun": "anyrun",
|
"anyrun": "anyrun",
|
||||||
"caddy-with-plugins": "caddy-with-plugins",
|
"caddy-with-plugins": "caddy-with-plugins",
|
||||||
"colmena": "colmena",
|
"colmena": "colmena",
|
||||||
|
"comin": "comin",
|
||||||
"disko": "disko",
|
"disko": "disko",
|
||||||
"emacs-overlay": "emacs-overlay",
|
"emacs-overlay": "emacs-overlay",
|
||||||
"eww": "eww",
|
"eww": "eww",
|
||||||
|
|
|
@ -94,6 +94,11 @@
|
||||||
|
|
||||||
nixos-facter-modules.url = "github:numtide/nixos-facter-modules";
|
nixos-facter-modules.url = "github:numtide/nixos-facter-modules";
|
||||||
|
|
||||||
|
comin = {
|
||||||
|
url = "github:nlewo/comin";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
caddy-with-plugins = {
|
caddy-with-plugins = {
|
||||||
url = "github:eboskma/caddy-with-plugins";
|
url = "github:eboskma/caddy-with-plugins";
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
{ self, caddy-with-plugins, ... }:
|
{
|
||||||
|
self,
|
||||||
|
comin,
|
||||||
|
caddy-with-plugins,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
modulesPath,
|
modulesPath,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
@ -8,6 +13,9 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/virtualisation/lxc-container.nix")
|
(modulesPath + "/virtualisation/lxc-container.nix")
|
||||||
|
|
||||||
|
comin.nixosModule
|
||||||
|
|
||||||
../../users/root
|
../../users/root
|
||||||
../../users/erwin
|
../../users/erwin
|
||||||
|
|
||||||
|
@ -60,6 +68,16 @@
|
||||||
firewall.trustedInterfaces = [ "tailscale0" ];
|
firewall.trustedInterfaces = [ "tailscale0" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.comin = {
|
||||||
|
enable = true;
|
||||||
|
remotes = [
|
||||||
|
{
|
||||||
|
name = "origin";
|
||||||
|
url = "https://git.datarift.nl/erwin/nixos-config";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
systemd = {
|
systemd = {
|
||||||
services.logrotate-checkconf.enable = false;
|
services.logrotate-checkconf.enable = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue