nixos-config/home/lambda/default.nix

130 lines
3.8 KiB
Nix
Raw Normal View History

2024-01-12 15:59:57 +01:00
{ config, pkgs, ... }:
{
home.username = "xqtc";
home.homeDirectory = "/home/xqtc";
programs.git = {
enable = true;
userName = "xqtc161";
userEmail = "xqtc@tutanota.com";
};
programs.wezterm = {
enable = true;
extraConfig = ''
local wezterm = require 'wezterm'
local config = {}
config.color_scheme = "DoomOne"
config.font = wezterm.font 'Hack Nerd Font Mono'
config.font_size = 15
config.window_background_opacity = .8
--config.window_background_image = "/home/xqtc/dotfiles_new/walls/walls/SMT 40.png"
--config.window_background_image_hsb = {
-- -- Darken the background image by reducing it to 1/3rd
-- brightness = 0.1,
--
-- -- You can adjust the hue by scaling its value.
-- -- a multiplier of 1.0 leaves the value unchanged.
-- hue = .8,
--
-- -- You can adjust the saturation also.
-- saturation = 1,
--}
config.text_background_opacity = .4
config.enable_scroll_bar = false
config.enable_tab_bar = false
config.enable_wayland = false
config.front_end = "OpenGL"
config.warn_about_missing_glyphs = false
return config
'';
};
programs = {
atuin = {
enable = true;
enableNushellIntegration = true;
};
nushell = { enable = true;
# The config.nu can be anywhere you want if you like to edit your Nushell with Nu
extraConfig = ''
let carapace_completer = {|spans|
carapace $spans.0 nushell $spans | from json
}
$env.config = {
show_banner: false,
completions: {
case_sensitive: false # case-sensitive completions
quick: true # set to false to prevent auto-selecting completions
partial: true # set to false to prevent partial filling of the prompt
algorithm: "fuzzy" # prefix or fuzzy
external: {
# set to false to prevent nushell looking into $env.PATH to find more suggestions
enable: true
# set to lower can improve completion performance at the cost of omitting some options
max_results: 100
completer: $carapace_completer # check 'carapace_completer'
}
}
}
$env.PATH = ($env.PATH |
split row (char esep) |
prepend /home/myuser/.apps |
append /usr/bin/env
)
neofetch
'';
};
carapace.enable = true;
carapace.enableNushellIntegration = true;
starship = { enable = true;
settings = {
add_newline = true;
character = {
success_symbol = "[λ::](bold green)";
error_symbol = "[λ::](bold red)";
};
};
};
};
#wayland.windowManager.hyprland = {
# enable = true;
# package = pkgs.hyprland;
# xwayland.enable = true;
# enableNvidiaPatches = true;
#};
#home.file."~/.config/hypr/hyprland.conf.
home.packages = with pkgs; [
neofetch
btop
iftop
strace
ltrace
nodejs
nerdfonts
vivaldi
vivaldi-ffmpeg-codecs
signal-desktop
vesktop
telegram-desktop
#schildichat-desktop
yubioath-flutter
];
home.stateVersion = "23.11";
programs.home-manager.enable = true;
}