Skip to content

Commit

Permalink
feat: Add comin
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Mar 5, 2024
1 parent 330e722 commit 971f430
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 18 deletions.
68 changes: 50 additions & 18 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
# Utils
agenix.url = "github:ryantm/agenix";
agenix.inputs.nixpkgs.follows = "nixpkgs";
comin.url = "github:nlewo/comin";
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts";
Expand Down
18 changes: 18 additions & 0 deletions hosts/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
config,
lib,
pkgs,
inputs,
...
}:
with builtins;
Expand Down Expand Up @@ -32,4 +33,21 @@ with lib; {

# So the bitwarden CLI knows where to find my server.
modules.shell.bitwarden.config.server = "bitwarden.com";

imports = [inputs.comin.nixosModules.comin];

services.comin = {
enable = true;
remotes = [
{
name = "local";
url = "/home/emiller/.config/dotfiles/";
}

{
name = "origin";
url = "https://github.com/edmundmiller/dotfiles";
}
];
};
}

0 comments on commit 971f430

Please sign in to comment.