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" "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",
@ -313,7 +298,6 @@
"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,8 +33,6 @@
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

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