Compare commits

..

No commits in common. "5952138b851efb7a8f5b88dae051b24426cddffb" and "d7073b0472c60436ac93ed4ec2dee8a9abb278bd" have entirely different histories.

4 changed files with 1 additions and 53 deletions

View File

@ -290,21 +290,6 @@
"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",
@ -313,7 +298,6 @@
"home-manager": "home-manager",
"neovim-overlay": "neovim-overlay",
"nixpkgs": "nixpkgs",
"repo-clone": "repo-clone",
"sops-nix": "sops-nix"
}
},

View File

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

View File

@ -1,31 +0,0 @@
{ 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 {
systemd.user.startServices = "sd-switch";
repo-clone = {
enable = true;
repos =
let
home = config.home.homeDirectory;
zgitRepo = name: "https://git.zynh.me/Zynh0722/${name}.git";
in
{
"${home}/.config/nvim".url = zgitRepo "nvim";
"${home}/Pictures/backgrounds".url = zgitRepo "backgrounds";
};
};
};
}

View File

@ -30,8 +30,6 @@ in
homeNetwork = true;
};
snowhawk.repo-clone.enable = true;
snowhawk.flameshot.config = {
General = {
contrastOpacity = 188;
@ -86,8 +84,7 @@ in
];
home.file = {
"src/nixpkgs".source = inputs.nixpkgs;
"src/home-manager".source = inputs.home-manager;
nixpkgs.source = inputs.nixpkgs;
};
# wayland.windowManager.hyprland = {