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