mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-25 21:13:54 +01:00
Outlined inline-configs in home-man; switched to production nvidia
package
This commit is contained in:
parent
c8e07a1a91
commit
f9d43c5280
25
home/lambda/config-files/config.nu
Normal file
25
home/lambda/config-files/config.nu
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
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
|
44
home/lambda/config-files/wezterm.lua
Normal file
44
home/lambda/config-files/wezterm.lua
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
local config = {}
|
||||||
|
|
||||||
|
config.color_scheme = "Sakura"
|
||||||
|
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.keys = {
|
||||||
|
{
|
||||||
|
key = 't',
|
||||||
|
mods = 'CTRL',
|
||||||
|
action = wezterm.action.SpawnTab 'DefaultDomain',
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for i = 1, 8 do
|
||||||
|
-- CTRL+ALT + number to activate that tab
|
||||||
|
table.insert(config.keys, {
|
||||||
|
key = tostring(i),
|
||||||
|
mods = 'CTRL',
|
||||||
|
action = wezterm.action.ActivateTab(i - 1),
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
config.text_background_opacity = .4
|
||||||
|
config.enable_scroll_bar = false
|
||||||
|
config.enable_tab_bar = true
|
||||||
|
config.enable_wayland = false
|
||||||
|
config.front_end = "OpenGL"
|
||||||
|
config.warn_about_missing_glyphs = false
|
||||||
|
return config
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.username = "xqtc";
|
home.username = "xqtc";
|
||||||
|
@ -11,35 +11,7 @@
|
||||||
};
|
};
|
||||||
programs.wezterm = {
|
programs.wezterm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = builtins.readFile ./config-files/wezterm.lua;
|
||||||
local config = {}
|
|
||||||
|
|
||||||
config.color_scheme = "Sakura"
|
|
||||||
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 = true
|
|
||||||
config.enable_wayland = false
|
|
||||||
config.front_end = "OpenGL"
|
|
||||||
config.warn_about_missing_glyphs = false
|
|
||||||
return config
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
programs = {
|
programs = {
|
||||||
atuin = {
|
atuin = {
|
||||||
|
@ -48,33 +20,7 @@
|
||||||
};
|
};
|
||||||
nushell = { enable = true;
|
nushell = { enable = true;
|
||||||
# The config.nu can be anywhere you want if you like to edit your Nushell with Nu
|
# The config.nu can be anywhere you want if you like to edit your Nushell with Nu
|
||||||
extraConfig = ''
|
extraConfig = builtins.readFile ./config-files/config.nu;
|
||||||
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.enable = true;
|
||||||
carapace.enableNushellIntegration = true;
|
carapace.enableNushellIntegration = true;
|
||||||
|
@ -121,6 +67,11 @@
|
||||||
#schildichat-desktop
|
#schildichat-desktop
|
||||||
|
|
||||||
yubioath-flutter
|
yubioath-flutter
|
||||||
|
|
||||||
|
steam
|
||||||
|
|
||||||
|
spotify
|
||||||
|
sayonara
|
||||||
];
|
];
|
||||||
home.stateVersion = "23.11";
|
home.stateVersion = "23.11";
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
nvidiaSettings = true;
|
nvidiaSettings = true;
|
||||||
|
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
package = config.boot.kernelPackages.nvidiaPackages.production;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
|
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
services.xserver.xkb.layout = "de";
|
services.xserver.xkb.layout = "us";
|
||||||
# services.xserver.xkb.options = "eurosign:e,caps:escape";
|
# services.xserver.xkb.options = "eurosign:e,caps:escape";
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
|
|
Loading…
Reference in a new issue