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. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # 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 = { programs.firefox = {
enable = true; enable = true;
nativeMessagingHosts = [ pkgs.kdePackages.plasma-browser-integration ]; nativeMessagingHosts = [ pkgs.kdePackages.plasma-browser-integration ];
@ -87,6 +107,7 @@
# #
home.sessionVariables = { home.sessionVariables = {
EDITOR = "emacsclient --create-frame"; EDITOR = "emacsclient --create-frame";
DIRENV_LOG_FORMAT = ""; #remove if direnv.silent becomes available
}; };
#nixpkgs.config.allowUnfree = true; #nixpkgs.config.allowUnfree = true;

View file

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

View file

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