calcite: test comin

This commit is contained in:
xinyangli 2024-12-20 19:36:28 +08:00
parent 9b9d923a25
commit 2b2aa11c52
Signed by: xin
SSH key fingerprint: SHA256:UU5pRTl7NiLFJbWJZa+snLylZSXIz5rgHmwjzv8v4oE
3 changed files with 41 additions and 1 deletions

21
flake.lock generated
View file

@ -39,6 +39,26 @@
"type": "github"
}
},
"comin": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1734693645,
"narHash": "sha256-Vw3YpuQxwBse5JiTGBH5MSPmqXOXFI4ROs7IF3tRc7k=",
"owner": "xinyangli",
"repo": "comin",
"rev": "c8a66bbd129e88ad916cac59f1ad9f45d39b3190",
"type": "github"
},
"original": {
"owner": "xinyangli",
"repo": "comin",
"type": "github"
}
},
"devshell": {
"inputs": {
"nixpkgs": [
@ -642,6 +662,7 @@
"inputs": {
"catppuccin": "catppuccin",
"colmena": "colmena",
"comin": "comin",
"disko": "disko",
"flake-utils": "flake-utils_2",
"home-manager": "home-manager",

View file

@ -55,6 +55,11 @@
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
comin = {
url = "github:xinyangli/comin";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
@ -72,6 +77,7 @@
colmena,
nix-index-database,
disko,
comin,
...
}:
let
@ -114,6 +120,7 @@
catppuccin.nixosModules.catppuccin
machines/calcite/configuration.nix
(mkHome "xin" "calcite")
comin.nixosModules.comin
];
hk-00 = [
./machines/dolomite/claw.nix

View file

@ -15,6 +15,18 @@ in
../sops.nix
];
services.comin = {
enable = true;
remotes = [
{
name = "origin";
url = "https://github.com/xinyangli/nixos-config.git";
branches.main.name = "deploy-comin-eval";
}
];
hostname = config.networking.hostName;
};
commonSettings = {
# auth.enable = true;
nix = {
@ -176,7 +188,7 @@ in
];
settings = {
main = {
capslock = "overload(control, esc)";
leftcontrol = "overload(control, esc)";
};
};
};