Tue Jun 4 04:15:48 PM CEST 2024

This commit is contained in:
Thomas Avé 2024-06-04 16:15:48 +02:00
parent 7a6f3c57c0
commit 2f88658882
7 changed files with 21 additions and 2 deletions

View File

@ -50,6 +50,7 @@
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
]; ];
experimental-features = [ "nix-command" "flakes" ]; experimental-features = [ "nix-command" "flakes" ];
trusted-users = ["root" "user"];
auto-optimise-store = true; auto-optimise-store = true;
}; };

View File

@ -15,6 +15,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
telegram-desktop telegram-desktop
webcord webcord
devenv
]; ];
services.hyprpaper = { services.hyprpaper = {

View File

@ -26,4 +26,5 @@
OPENCV_LOG_LEVEL = "ERROR"; OPENCV_LOG_LEVEL = "ERROR";
COLORTERM = "truecolor"; COLORTERM = "truecolor";
}; };
} }

View File

@ -2,6 +2,7 @@
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
nixd
clang clang
go go
nodejs nodejs

View File

@ -122,6 +122,10 @@ return {
capabilities = capabilities capabilities = capabilities
} }
require('lspconfig').nixd.setup {
capabilities = capabilities
}
require('lspconfig').clangd.setup { require('lspconfig').clangd.setup {
capabilities = capabilities, capabilities = capabilities,
-- root_dir = function() -- root_dir = function()

View File

@ -23,6 +23,17 @@
TERM = "screen-256color"; TERM = "screen-256color";
PYTHONDONTWRITEBYTECODE = "1"; PYTHONDONTWRITEBYTECODE = "1";
GOPATH = "${config.xdg.dataHome}/go"; GOPATH = "${config.xdg.dataHome}/go";
DIRENV_LOG_FORMAT="";
};
programs.direnv = {
enable = true;
enableZshIntegration = true; # see note on other shells below
nix-direnv.enable = true;
config = {
global = {
hiden_env_diff = true;
};
};
}; };
programs.command-not-found.enable = true; programs.command-not-found.enable = true;
programs.zoxide = { programs.zoxide = {

View File

@ -89,7 +89,7 @@
# xplr # xplr shell (https://github.com/sayanarijit/xplr) # xplr # xplr shell (https://github.com/sayanarijit/xplr)
# vim_shell # vim shell indicator (:sh) # vim_shell # vim shell indicator (:sh)
# midnight_commander # midnight commander shell (https://midnight-commander.org/) # midnight_commander # midnight commander shell (https://midnight-commander.org/)
# nix_shell # nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html) nix_shell # nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html)
# vi_mode # vi mode (you don't need this if you've enabled prompt_char) # vi_mode # vi mode (you don't need this if you've enabled prompt_char)
# vpn_ip # virtual private network indicator # vpn_ip # virtual private network indicator
# load # CPU load # load # CPU load
@ -771,7 +771,7 @@
typeset -g POWERLEVEL9K_NIX_SHELL_BACKGROUND=4 typeset -g POWERLEVEL9K_NIX_SHELL_BACKGROUND=4
# Tip: If you want to see just the icon without "pure" and "impure", uncomment the next line. # Tip: If you want to see just the icon without "pure" and "impure", uncomment the next line.
# typeset -g POWERLEVEL9K_NIX_SHELL_CONTENT_EXPANSION= typeset -g POWERLEVEL9K_NIX_SHELL_CONTENT_EXPANSION=
# Custom icon. # Custom icon.
# typeset -g POWERLEVEL9K_NIX_SHELL_VISUAL_IDENTIFIER_EXPANSION='⭐' # typeset -g POWERLEVEL9K_NIX_SHELL_VISUAL_IDENTIFIER_EXPANSION='⭐'