Compare commits

..

No commits in common. "ea52afd5ad1bf6927207807aec36e2b9cee9e6be" and "7f24c3e3b18ab6bcc1f3be22359663c190cdd628" have entirely different histories.

5 changed files with 26 additions and 33 deletions

View File

@ -28,11 +28,6 @@ in
};
in
lib.mkIf cfg.enable {
snowhawk.repo-clone.enable = true;
repo-clone.repos = {
"${config.home.homeDirectory}/.config/nvim".url = lib.zgitRepo "nvim";
};
# Set nvim as manpager and default editor
home.sessionVariables = {
EDITOR = "nvim";

View File

@ -17,8 +17,14 @@ in
repo-clone = {
enable = true;
repos = {
"${config.home.homeDirectory}/Pictures/backgrounds".url = lib.zgitRepo "backgrounds";
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

@ -9,8 +9,6 @@ in
};
config = lib.mkIf cfg.enable {
snowhawk.direnv.enable = true;
home.packages = with pkgs; [
rustup
];

View File

@ -5,38 +5,34 @@
../../home/modules
];
snowhawk.neovim = {
enable = true;
# package = neovim-package;
};
snowhawk = {
# Desktop
dunst.enable = true;
theme.enable = true;
redshift.enable = true;
flameshot.enable = true;
playerctl.enable = true;
direnv.enable = true;
alacritty.enable = true;
defaultPrograms.enable = true;
# Games
xivlauncher.enable = true;
# Term Tools
neovim.enable = true;
tldr.enable = true;
# Dev
rust.enable = true;
theme.enable = true;
projects.enable = true;
sources.enable = true;
# Security
dunst.enable = true;
sops.enable = true;
rbw.enable = true;
defaultPrograms.enable = true;
playerctl.enable = true;
redshift.enable = true;
xivlauncher.enable = true;
flameshot.enable = true;
tldr.enable = true;
sources.enable = true;
rust.enable = true;
};
snowhawk.ssh = {
enable = true;
homeNetwork = true;
};
snowhawk.repo-clone.enable = true;
snowhawk.flameshot.config = {
General = {
contrastOpacity = 188;

View File

@ -20,6 +20,4 @@ rec {
(mkIf predicate yes)
(mkIf (!predicate) no)
];
zgitRepo = name: "https://git.zynh.me/Zynh0722/${name}.git";
}