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