1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-12-22 00:38:11 +00:00

added home-manager

This commit is contained in:
J. Fernando Sánchez 2024-01-23 16:25:59 +01:00
parent f68b89be0f
commit fa7041ff8b
6 changed files with 63 additions and 5 deletions

View File

@ -5,7 +5,7 @@ y = 15
[font] [font]
[font.normal] [font.normal]
family = "DejaVu Sans Mono" family = "IosevkaTerm"
style = "Regular" style = "Regular"
[shell] [shell]

View File

@ -97,9 +97,11 @@ font:
# - (macOS) Menlo # - (macOS) Menlo
# - (Linux/BSD) monospace # - (Linux/BSD) monospace
# - (Windows) Consolas # - (Windows) Consolas
# family: MesloLGS NF # family: Hack Nerd Font
# family: Hack # family: DejaVuSansM Nerd Font
family: DejaVu Sans Mono # family: FiraCode Nerd Font
# family: IosevkaTerm Nerd Font
family: CaskaydiaCove NFM
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: Regular style: Regular

View File

@ -1,2 +1,3 @@
set -U fish_greeting set -U fish_greeting
set -g -x NIX_PATH "/home/j/.nix-defexpr/channels/:/nix/var/nix/profiles/per-user/root/channels"
starship init fish | source starship init fish | source

View File

@ -7,6 +7,13 @@ in
home.username = "j"; home.username = "j";
home.homeDirectory = "/home/j"; home.homeDirectory = "/home/j";
nixpkgs = {
config = {
allowUnfree = true;
allowUnfreePredicate = (_: true);
};
};
# This value determines the Home Manager release that your # This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage # configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards # when a new Home Manager release introduces backwards
@ -21,10 +28,14 @@ in
programs.home-manager.enable = true; programs.home-manager.enable = true;
home.packages = [ home.packages = [
pkgs.htop pkgs.htop
pkgs.zoom-us
pkgs.fortune pkgs.fortune
pkgs.tmux pkgs.tmux
pkgs.git pkgs.git
pkgs.git-lfs
pkgs.hugo
pkgs.fish pkgs.fish
pkgs.fd
pkgs.helix pkgs.helix
pkgs.starship pkgs.starship
pkgs.ripgrep pkgs.ripgrep
@ -32,9 +43,28 @@ in
pkgs.ansible pkgs.ansible
pkgs.ranger pkgs.ranger
pkgs.sshpass pkgs.sshpass
pkgs.jq
pkgs.bat
pkgs.davfs2
pkgs.pandoc
pkgs.rustup
#pkgs.texlive
# pkgs.texlive.combine {
# inherit (texlive) xcolor
# }
pkgs.wl-clipboard
nixgl.auto.nixGLDefault nixgl.auto.nixGLDefault
#(pkgs.python311.withPackages (p: with p; [
#jupyterlab
#matplotlib
#pandas
#openpyxl
#]))
pkgs.alacritty pkgs.alacritty
(pkgs.nerdfonts.override { fonts = [ "FiraCode" "DejaVuSansMono" ]; }) pkgs.wezterm
pkgs.kitty
pkgs.zellij
(pkgs.nerdfonts.override { fonts = [ "Iosevka" "IosevkaTerm" "Hack" "CascadiaCode" "FiraCode" "DejaVuSansMono" ]; })
]; ];
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
@ -47,4 +77,5 @@ in
lightline-vim lightline-vim
]; ];
}; };
services.owncloud-client.enable = true;
} }

View File

@ -0,0 +1,8 @@
protocol file
mime image/*
action launch --type=overlay kitten icat --hold ${FILE_PATH}
protocol file
ext log
action launch --title ${FILE} --type=os-window tail -f ${FILE_PATH}
action change_font_size current -2

16
wezterm/.wezterm.lua Normal file
View File

@ -0,0 +1,16 @@
local wezterm = require 'wezterm'
local config = {}
config.font = wezterm.font 'Iosevka Nerd Font'
config.show_tab_index_in_tab_bar = true
-- wezterm.on('update-right-status', function(window, pane)
-- window:set_left_status 'left'
-- window:set_right_status 'right'
-- end)
config.use_fancy_tab_bar = true
config.show_tabs_in_tab_bar = false
config.show_new_tab_button_in_tab_bar = false
return config