repo-clone: add module

sh-initrd-on-root
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" "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": { "root": {
"inputs": { "inputs": {
"backgrounds": "backgrounds", "backgrounds": "backgrounds",
@ -298,6 +313,7 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"neovim-overlay": "neovim-overlay", "neovim-overlay": "neovim-overlay",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"repo-clone": "repo-clone",
"sops-nix": "sops-nix" "sops-nix": "sops-nix"
} }
}, },

View File

@ -33,6 +33,8 @@
url = "github:d2718nis/rose-pine-dunst"; url = "github:d2718nis/rose-pine-dunst";
flake = false; flake = false;
}; };
repo-clone.url = "git+https://git.zynh.me/Zynh0722/repo-clone";
}; };
outputs = 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; homeNetwork = true;
}; };
snowhawk.repo-clone.enable = true;
snowhawk.flameshot.config = { snowhawk.flameshot.config = {
General = { General = {
contrastOpacity = 188; contrastOpacity = 188;