Compare commits

..

No commits in common. "4ff3bfbf50d0f6548075ede2fad8dc67473f8609" and "09caae2e4ea915f7886b14711144a3f6333c4d74" have entirely different histories.

2 changed files with 5 additions and 7 deletions

View file

@ -19,7 +19,6 @@
gaming.enable = true; gaming.enable = true;
personal.enable = true; personal.enable = true;
impermanence.enable = true; impermanence.enable = true;
webis.enable = true;
}; };
programs.hyprland = { programs.hyprland = {
nvidiaSupport = true; nvidiaSupport = true;
@ -27,8 +26,9 @@
extraConfig = "exec=hyprctl keyword monitor HDMI-A-1,3840x2160@120,auto,1.2"; extraConfig = "exec=hyprctl keyword monitor HDMI-A-1,3840x2160@120,auto,1.2";
keyboardLayouts = [ "us" "de" ]; keyboardLayouts = [ "us" "de" ];
}; };
programs.exercism.enable = true;
services.wallpaper.enable = true; services.wallpaper.enable = true;
services.ollama.enable = true;
programs.ledger.enable = true;
}; };
home-manager.users.moritz.home.packages = with pkgs; [ home-manager.users.moritz.home.packages = with pkgs; [

View file

@ -44,7 +44,7 @@ let
gi = pkgs.writeFishApplication { gi = pkgs.writeFishApplication {
name = "gi"; name = "gi";
runtimeInputs = with pkgs; [ fzf gum curl coreutils-full ]; runtimeInputs = with pkgs; [ fzf gum curl ];
text = /* fish */ '' text = /* fish */ ''
set url https://www.gitignore.io/api set url https://www.gitignore.io/api
@ -57,12 +57,10 @@ let
set choice (string join "," $argv[1..]) set choice (string join "," $argv[1..])
end end
set contents "$(curl -sL $url/$choice | head -n -2 | tail -n +4)"
if gum confirm "Overwrite current .gitignore?" if gum confirm "Overwrite current .gitignore?"
echo "$contents" > .gitignore curl -sL $url/$choice > .gitignore
else else
echo "$contents" >> .gitignore curl -sL $url/$choice >> .gitignore
end end
''; '';
completions = /* fish */ '' completions = /* fish */ ''