Compare commits

...

6 Commits

5 changed files with 34 additions and 27 deletions

View File

@ -28,6 +28,11 @@ 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,15 +17,9 @@ in
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";
};
repos = {
"${config.home.homeDirectory}/Pictures/backgrounds".url = lib.zgitRepo "backgrounds";
};
};
};
}

View File

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

View File

@ -5,34 +5,38 @@
../../home/modules
];
snowhawk.neovim = {
enable = true;
# package = neovim-package;
};
snowhawk = {
direnv.enable = true;
alacritty.enable = true;
theme.enable = true;
projects.enable = true;
# Desktop
dunst.enable = true;
theme.enable = true;
redshift.enable = true;
flameshot.enable = true;
playerctl.enable = true;
alacritty.enable = true;
defaultPrograms.enable = true;
# Games
xivlauncher.enable = true;
# Term Tools
neovim.enable = true;
tldr.enable = true;
# Dev
rust.enable = true;
projects.enable = true;
sources.enable = true;
# Security
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,4 +20,6 @@ rec {
(mkIf predicate yes)
(mkIf (!predicate) no)
];
zgitRepo = name: "https://git.zynh.me/Zynh0722/${name}.git";
}