Compare commits
2 Commits
09caae2e4e
...
4ff3bfbf50
Author | SHA1 | Date |
---|---|---|
Moritz Böhme | 4ff3bfbf50 | |
Moritz Böhme | 10f9389319 |
|
@ -19,6 +19,7 @@
|
||||||
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;
|
||||||
|
@ -26,9 +27,8 @@
|
||||||
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; [
|
||||||
|
|
|
@ -44,7 +44,7 @@ let
|
||||||
|
|
||||||
gi = pkgs.writeFishApplication {
|
gi = pkgs.writeFishApplication {
|
||||||
name = "gi";
|
name = "gi";
|
||||||
runtimeInputs = with pkgs; [ fzf gum curl ];
|
runtimeInputs = with pkgs; [ fzf gum curl coreutils-full ];
|
||||||
text = /* fish */ ''
|
text = /* fish */ ''
|
||||||
set url https://www.gitignore.io/api
|
set url https://www.gitignore.io/api
|
||||||
|
|
||||||
|
@ -57,10 +57,12 @@ 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?"
|
||||||
curl -sL $url/$choice > .gitignore
|
echo "$contents" > .gitignore
|
||||||
else
|
else
|
||||||
curl -sL $url/$choice >> .gitignore
|
echo "$contents" >> .gitignore
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
completions = /* fish */ ''
|
completions = /* fish */ ''
|
||||||
|
|
Loading…
Reference in New Issue