diff --git a/flake.lock b/flake.lock index b568bd3..7224c8d 100644 --- a/flake.lock +++ b/flake.lock @@ -19,6 +19,26 @@ "url": "https://gitea.c3d2.de/C3D2/nix-user-module.git" } }, + "comin": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1757250234, + "narHash": "sha256-jHyksmOz9yQPUlsJwAgs0jQlz9dwstoS4M/hT+JA5Z0=", + "owner": "nlewo", + "repo": "comin", + "rev": "b8ab3eccbc3acf171b9ea377e88b8194f81c579d", + "type": "github" + }, + "original": { + "owner": "nlewo", + "repo": "comin", + "type": "github" + } + }, "determinate": { "inputs": { "determinate-nixd-aarch64-darwin": "determinate-nixd-aarch64-darwin", @@ -463,6 +483,7 @@ "root": { "inputs": { "c3d2-user-module": "c3d2-user-module", + "comin": "comin", "determinate": "determinate", "home-manager": "home-manager", "niri": "niri", diff --git a/flake.nix b/flake.nix index d3f0223..d7583bb 100644 --- a/flake.nix +++ b/flake.nix @@ -23,6 +23,10 @@ url = "git+https://git.outfoxxed.me/quickshell/quickshell"; inputs.nixpkgs.follows = "nixpkgs"; }; + comin = { + url = "github:nlewo/comin"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = @@ -37,6 +41,7 @@ determinate, nix-index-db, quickshell, + comin, }: let system = "x86_64-linux"; @@ -108,6 +113,8 @@ c3d2-user-module.nixosModule ./modules/nix.nix ./modules/fonts.nix + comin.nixosModules.comin + ./modules/comin.nix ]; }; diff --git a/modules/comin.nix b/modules/comin.nix new file mode 100644 index 0000000..cd6e6ae --- /dev/null +++ b/modules/comin.nix @@ -0,0 +1,13 @@ +{ ... }: +{ + services.comin = { + enable = true; + remotes = [ + { + name = "origin"; + url = "https://code.c-base.org/lucy/dotfiles.git"; + branches.main.name = "main"; + } + ]; + }; +}