no fucking clue what I changed but good luck (^_^)*
This commit is contained in:
parent
b3bb2227d1
commit
35b54acb85
9 changed files with 151 additions and 21 deletions
|
|
@ -15,9 +15,11 @@
|
|||
../modules/bat.nix
|
||||
../modules/fish.nix
|
||||
../modules/editor/helix.nix
|
||||
../modules/editor/vscodium.nix
|
||||
|
||||
../modules/btop.nix
|
||||
../modules/rio.nix
|
||||
../modules/term/ghostty.nix
|
||||
../modules/term/rio.nix
|
||||
../modules/firefox.nix
|
||||
../modules/nixcord.nix
|
||||
|
||||
|
|
|
|||
9
homes/modules/editor/vscodium.nix
Normal file
9
homes/modules/editor/vscodium.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscodium;
|
||||
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,19 +1,30 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
#set -g fish_greeting "Welcome weary traveler to my shop"
|
||||
cat ~/banner
|
||||
'';
|
||||
plugins = [
|
||||
{
|
||||
name = "grc";
|
||||
src = pkgs.fishPlugins.grc.src;
|
||||
}
|
||||
];
|
||||
options = {
|
||||
morphBashToFish = lib.mkEnableOption "morphBashToFish";
|
||||
};
|
||||
|
||||
config = {
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
# add dotnet completions if it exists (ie we're in a virtual environment)
|
||||
if type -q dotnet
|
||||
complete -f -c dotnet -a "(dotnet complete (commandline -cp))"
|
||||
end
|
||||
|
||||
set -g fish_greeting "Welcome weary traveller to my shop"
|
||||
'';
|
||||
plugins = [
|
||||
{
|
||||
name = "grc";
|
||||
src = pkgs.fishPlugins.grc.src;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
9
homes/modules/term/default.nix
Normal file
9
homes/modules/term/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options = {
|
||||
|
||||
}
|
||||
}
|
||||
43
homes/modules/term/ghostty.nix
Normal file
43
homes/modules/term/ghostty.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{pkgs, ...}: {
|
||||
home = {
|
||||
packages = [
|
||||
pkgs.ghostty
|
||||
#(pkgs.writeShellScriptBin "xterm" ''${pkgs.ghostty}/bin/ghostty "$@"'')
|
||||
];
|
||||
|
||||
sessionVariables.TERMINAL = "ghostty";
|
||||
};
|
||||
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
theme = "Dracula";
|
||||
font-family = "Geist Nerd Font";
|
||||
font-feature = ["liga" "calt"];
|
||||
|
||||
window-padding-x = 12;
|
||||
window-padding-y = 6;
|
||||
window-theme = "system";
|
||||
|
||||
window-height = 26;
|
||||
window-width = 90;
|
||||
copy-on-select = true;
|
||||
gtk-single-instance = false;
|
||||
adw-toolbar-style = "flat";
|
||||
|
||||
keybind = [
|
||||
"ctrl+shift+plus=increase_font_size:1"
|
||||
"ctrl+shift+minus=decrease_font_size:1"
|
||||
|
||||
"ctrl+h=goto_split:left"
|
||||
"ctrl+l=goto_split:right"
|
||||
];
|
||||
};
|
||||
|
||||
#themes = {
|
||||
#aylur-dark = colors (import ./colors.nix {scheme = "dark";});
|
||||
#aylur-light = colors (import ./colors.nix {scheme = "light";});
|
||||
#};
|
||||
};
|
||||
}
|
||||
|
|
@ -3,8 +3,16 @@
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home = {
|
||||
packages = [
|
||||
pkgs.rio
|
||||
];
|
||||
|
||||
# currently set to ghostty (on lolcathost)
|
||||
#sessionVariables.TERMINAL = "rio";
|
||||
};
|
||||
|
||||
# The terminal I use
|
||||
# TODO: this is dependent on nvim being installed
|
||||
# TODO: make this into a module with a configurable editor option
|
||||
programs.rio = {
|
||||
enable = true;
|
||||
Loading…
Add table
Add a link
Reference in a new issue