1

Update nixinator config

This commit is contained in:
2023-03-27 14:53:25 +02:00
parent c0300c1112
commit 57f2919867
2 changed files with 68 additions and 26 deletions

View File

@ -106,10 +106,10 @@ rec {
}; };
}; };
neovim = { # neovim = {
enable = true; # enable = true;
alias = true; # alias = true;
}; # };
nextcloud = { nextcloud = {
enable = true; enable = true;
@ -124,22 +124,14 @@ rec {
# Temporary hack: https://github.com/nix-community/home-manager/issues/3342 # Temporary hack: https://github.com/nix-community/home-manager/issues/3342
# TODO: Remove when possible # TODO: Remove when possible
manual.manpages.enable = false; manual.manpages.enable = true;
manual.html.enable = false; manual.html.enable = true;
# TODO: Gnome terminal config # TODO: Gnome terminal config
# TODO: Store the external binaries for my derivations in GitHub LFS (Vital, NeuralDSP, other plugins etc.) # TODO: Store the external binaries for my derivations in GitHub LFS (Vital, NeuralDSP, other plugins etc.)
# TODO: Derivations for bottles like UPlay, NeuralDSP, LoL (don't know what is possible with bottles-cli though) # TODO: Derivations for bottles like UPlay, NeuralDSP, LoL (don't know what is possible with bottles-cli though)
# TODO: When bottles derivations are there remove the bottles option from audio/gaming module and assert that bottles is enabled in flatpak module # TODO: When bottles derivations are there remove the bottles option from audio/gaming module and assert that bottles is enabled in flatpak module
# Chinese Input
i18n.inputMethod.enabled = "fcitx5";
i18n.inputMethod.fcitx5.addons = with pkgs; [
fcitx5-gtk
libsForQt5.fcitx5-qt
fcitx5-chinese-addons
fcitx5-configtool # TODO: Remove this and set config through HomeManager
];
# Make fonts installed through user packages available to applications # Make fonts installed through user packages available to applications
# NOTE: I don't think I need this anymore as all fonts are installed through the system config but let's keep this just in case # NOTE: I don't think I need this anymore as all fonts are installed through the system config but let's keep this just in case
@ -183,6 +175,9 @@ rec {
sessionVariables = { sessionVariables = {
LANG = "en_US.UTF-8"; LANG = "en_US.UTF-8";
EDITOR = "hx";
VISUAL = "hx";
DOCKER_BUILDKIT = 1; DOCKER_BUILDKIT = 1;
# Enable wayland # Enable wayland
@ -242,13 +237,15 @@ rec {
mprocs # run multiple processes in single terminal window, screen alternative mprocs # run multiple processes in single terminal window, screen alternative
# TODO: Maybe general document/typesetting module? # TODO: Maybe general document/typesetting module?
graphviz # generate graphs from code graphviz # generate graphs from code
xdot # .dot file viewer
d2 # generate diagrams from code d2 # generate diagrams from code
plantuml
gnuplot # generate function plots gnuplot # generate function plots
# TODO: Latex module # TODO: Latex module
tikzit # tikzit
texlive.combined.scheme-full texlive.combined.scheme-full
pandoc # document converting madness pandoc # document converting madness
lm_sensors # TODO: Programming languages module
alejandra # nix code formatter alejandra # nix code formatter
nil # nix language server nil # nix language server
@ -269,9 +266,12 @@ rec {
vulkan-tools # vulkaninfo vulkan-tools # vulkaninfo
libva-utils # vainfo libva-utils # vainfo
rocminfo # radeon comptute platform info rocminfo # radeon comptute platform info
hwloc
lm_sensors
# Web stuff # Web stuff
signal-desktop signal-desktop
element-desktop # matrix client
protonvpn-cli protonvpn-cli
# yt-dlp # download videos (from almost anywhere) # HM program # yt-dlp # download videos (from almost anywhere) # HM program
filezilla filezilla
@ -282,7 +282,13 @@ rec {
gource # Visualize git commit log, completely useless gource # Visualize git commit log, completely useless
anki-bin # Use anki-bin as anki is some versions behind anki-bin # Use anki-bin as anki is some versions behind
inputs.nixos-conf-editor.packages."x86_64-linux".nixos-conf-editor inputs.nixos-conf-editor.packages."x86_64-linux".nixos-conf-editor
octave octave # GNU matlab basically
logisim-evolution # Digital circuit simulator
digital # Digital circuit simulator
quartus-prime-lite # Intel FPGA design software
# TODO: Module, sync config, try globally
jetbrains.clion
# Office # Office
# sioyek # Scientific pdf reader # HM program # sioyek # Scientific pdf reader # HM program
@ -292,9 +298,10 @@ rec {
hunspellDicts.en_US hunspellDicts.en_US
hunspellDicts.de_DE hunspellDicts.de_DE
obsidian # knowledge-base obsidian # knowledge-base
# logseq # knowledge-base logseq # knowledge-base
# zotero # Citation/source research assistant # zotero # Citation/source research assistant
# jabref # manage bibilography # NOTE: Uses jdk18 which is EOL, so can't build # jabref # manage bibilography # NOTE: Uses jdk18 which is EOL, so can't build, use flatpak instead
vale # Why not lint everything (including english)?
# TODO: Development module # TODO: Development module
# TODO: Does this conflict with devshell pythons? If so, use lowPrio # TODO: Does this conflict with devshell pythons? If so, use lowPrio
@ -324,12 +331,14 @@ rec {
krita krita
inkscape inkscape
AusweisApp2
# KDE Applications # KDE Applications
# TODO: Make a module out of this # TODO: Make a module out of this
libsForQt5.kate libsForQt5.kate
libsForQt5.kwrited # Already included by default libsForQt5.kwrited # Already included by default
libsForQt5.ark libsForQt5.ark
libsForQt5.kdeconnect-kde # NOTE: Also has HM program # libsForQt5.kdeconnect-kde # NOTE: Also has HM service
libsForQt5.kcalc libsForQt5.kcalc
libsForQt5.ksystemlog libsForQt5.ksystemlog
libsForQt5.kfind libsForQt5.kfind
@ -361,7 +370,6 @@ rec {
# Potential future enables # Potential future enables
# mangohud.enable = true; # mangohud.enable = true;
# matplotlib.enable = true; # matplotlib.enable = true;
# kdeconnect.enable = true;
bat.enable = true; bat.enable = true;
btop.enable = true; btop.enable = true;
@ -394,13 +402,27 @@ rec {
helix = { helix = {
enable = true; enable = true;
languages = [
{
name = "verilog";
roots = [
".svls.toml"
".svlint.toml"
];
language-server = {
command = "svls";
args = [];
};
}
];
# https://docs.helix-editor.com/configuration.html # https://docs.helix-editor.com/configuration.html
settings = { settings = {
# theme = "base16_terminal"; # theme = "base16_terminal";
editor = { editor = {
scrolloff = 10; scrolloff = 10;
mouse = true; # Default mouse = false; # Default true
middle-click-paste = true; # Default middle-click-paste = false; # Default true
line-number = "relative"; line-number = "relative";
cursorline = true; cursorline = true;
auto-completion = true; # Default auto-completion = true; # Default
@ -416,6 +438,10 @@ rec {
}; };
}; };
# kakoune = {
# enable = true;
# };
# NOTE: If error occurs after system update on fish init run "ssh-add" # NOTE: If error occurs after system update on fish init run "ssh-add"
keychain = { keychain = {
enable = true; enable = true;
@ -456,7 +482,6 @@ rec {
nushell = { nushell = {
enable = true; enable = true;
}; };
# Git status replacement with file selection by number # Git status replacement with file selection by number
@ -506,7 +531,7 @@ rec {
mkhl.direnv mkhl.direnv
ms-azuretools.vscode-docker ms-azuretools.vscode-docker
ms-kubernetes-tools.vscode-kubernetes-tools ms-kubernetes-tools.vscode-kubernetes-tools
ms-python.python # ms-python.python # TODO: Reenable, was disabled bc build failure
ms-toolsai.jupyter ms-toolsai.jupyter
ms-vscode.cmake-tools ms-vscode.cmake-tools
ms-vscode.cpptools ms-vscode.cpptools
@ -527,6 +552,7 @@ rec {
tamasfe.even-better-toml tamasfe.even-better-toml
timonwong.shellcheck timonwong.shellcheck
# tomoki1207.pdf # Incompatible with latex workshop # tomoki1207.pdf # Incompatible with latex workshop
valentjn.vscode-ltex
vscodevim.vim vscodevim.vim
vscode-icons-team.vscode-icons vscode-icons-team.vscode-icons
yzhang.markdown-all-in-one yzhang.markdown-all-in-one
@ -548,7 +574,7 @@ rec {
"editor.cursorSurroundingLines" = 10; "editor.cursorSurroundingLines" = 10;
"editor.minimap.renderCharacters" = false; "editor.minimap.renderCharacters" = false;
"files.trimFinalNewlines" = true; "files.trimFinalNewlines" = true;
"files.trimTrailingWhitespace" = true; "files.trimTrailingWhitespace" = true; # NOTE: If this is enabled with frequent autosave, the current lines whitespace will always be removed, which is obnoxious
"workbench.enableExperiments" = false; "workbench.enableExperiments" = false;
"workbench.list.smoothScrolling" = true; "workbench.list.smoothScrolling" = true;
"workbench.colorTheme" = "Default Light+"; "workbench.colorTheme" = "Default Light+";
@ -558,6 +584,7 @@ rec {
"editor.guides.bracketPairs" = "active"; "editor.guides.bracketPairs" = "active";
"editor.guides.bracketPairsHorizontal" = "active"; "editor.guides.bracketPairsHorizontal" = "active";
"editor.guides.highlightActiveIndentation" = false; "editor.guides.highlightActiveIndentation" = false;
"ltex.checkFrequency" = "manual";
# Looks ugly # Looks ugly
# "workbench.colorCustomizations" = { # "workbench.colorCustomizations" = {
# # Bracket colors # # Bracket colors
@ -610,6 +637,10 @@ rec {
}; };
}; };
services = {
# kdeconnect.enable = true; # Note: This does not setup the firewall at all
};
# Nicely reload system units when changing configs # Nicely reload system units when changing configs
systemd.user.startServices = "sd-switch"; systemd.user.startServices = "sd-switch";
} }

View File

@ -56,4 +56,15 @@ rec {
}; };
}; };
}; };
# NOTE: This has been relocated here from the default config, because it forces en-US keyboard layout
# The laptop needs de-DE...
# Chinese Input
i18n.inputMethod.enabled = "fcitx5";
i18n.inputMethod.fcitx5.addons = with pkgs; [
fcitx5-gtk
libsForQt5.fcitx5-qt
fcitx5-chinese-addons
fcitx5-configtool # TODO: Remove this and set config through HomeManager
];
} }