update
This commit is contained in:
parent
c279557211
commit
4d7650cc4a
|
@ -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. It‘s perfectly fine and recommended to leave
|
||||
|
|
21
home.nix
21
home.nix
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
'';
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [ "git" ];
|
||||
plugins = [ "git" "direnv" ];
|
||||
};
|
||||
plugins = [
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue