repo-clone: add module

This commit is contained in:
Zynh Ludwig 2024-08-01 00:05:46 -07:00
parent 5317efcc8d
commit d8dae0b57d
4 changed files with 38 additions and 0 deletions

View file

@ -290,6 +290,21 @@
"type": "github"
}
},
"repo-clone": {
"locked": {
"lastModified": 1722509718,
"narHash": "sha256-VkdEMyhUl5RwyOsGsBzpA0WgDAWzEkngCrgiJAkQdr0=",
"ref": "refs/heads/main",
"rev": "b227fc74a6c24c8586ac0cee2e49400f3572957a",
"revCount": 43,
"type": "git",
"url": "https://git.zynh.me/Zynh0722/repo-clone"
},
"original": {
"type": "git",
"url": "https://git.zynh.me/Zynh0722/repo-clone"
}
},
"root": {
"inputs": {
"backgrounds": "backgrounds",
@ -298,6 +313,7 @@
"home-manager": "home-manager",
"neovim-overlay": "neovim-overlay",
"nixpkgs": "nixpkgs",
"repo-clone": "repo-clone",
"sops-nix": "sops-nix"
}
},

View file

@ -33,6 +33,8 @@
url = "github:d2718nis/rose-pine-dunst";
flake = false;
};
repo-clone.url = "git+https://git.zynh.me/Zynh0722/repo-clone";
};
outputs =

View file

@ -0,0 +1,18 @@
{ lib, config, inputs, ... }:
let
cfg = config.snowhawk.repo-clone;
in
{
imports = [
inputs.repo-clone.homeManagerModule
];
options.snowhawk.repo-clone = {
enable = lib.mkEnableOption "repo-clone home-manager module";
};
config = lib.mkIf cfg.enable {
repo-clone.enable = true;
};
}

View file

@ -30,6 +30,8 @@ in
homeNetwork = true;
};
snowhawk.repo-clone.enable = true;
snowhawk.flameshot.config = {
General = {
contrastOpacity = 188;