This commit is contained in:
HackerNCoder 2024-07-26 19:39:59 +02:00
parent c279557211
commit 4d7650cc4a
4 changed files with 26 additions and 1 deletions

View file

@ -230,6 +230,8 @@
# Or disable the firewall altogether.
# networking.firewall.enable = false;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave

View file

@ -60,6 +60,26 @@
# '';
};
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
extraConfig = ''
filetype plugin indent on
" On pressing tab, insert 2 spaces
set expandtab
" show existing tab with 2 spaces width
set tabstop=2
set softtabstop=2
" when indenting with '>', use 2 spaces width
set shiftwidth=2
'';
};
services.lorri.enable = true;
programs.direnv.enable = true;
programs.firefox = {
enable = true;
nativeMessagingHosts = [ pkgs.kdePackages.plasma-browser-integration ];
@ -87,6 +107,7 @@
#
home.sessionVariables = {
EDITOR = "emacsclient --create-frame";
DIRENV_LOG_FORMAT = ""; #remove if direnv.silent becomes available
};
#nixpkgs.config.allowUnfree = true;

View file

@ -9,6 +9,7 @@
ripgrep
pandoc
fd
nixfmt-rfc-style
#html/prettier
vscode-langservers-extracted
@ -30,6 +31,7 @@
rustfmt
rust-analyzer
clippy
gcc
];
services.emacs = {
enable = true;

View file

@ -13,7 +13,7 @@
'';
oh-my-zsh = {
enable = true;
plugins = [ "git" ];
plugins = [ "git" "direnv" ];
};
plugins = [
{