neovim - correct typos 2
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
imports = [ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
@@ -13,7 +12,8 @@
|
||||
networking.hostName = "eliasLaptop"; # Define your hostname.
|
||||
# Pick only one of the below networking options.
|
||||
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
||||
networking.networkmanager.enable =
|
||||
true; # Easiest to use and most distros use this by default.
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Berlin";
|
||||
@@ -34,12 +34,8 @@
|
||||
};
|
||||
defaultSession = "none+xmonad";
|
||||
};
|
||||
windowManager.xmonad = {
|
||||
enable = true;
|
||||
};
|
||||
xkb = {
|
||||
layout = "de";
|
||||
};
|
||||
windowManager.xmonad = { enable = true; };
|
||||
xkb = { layout = "de"; };
|
||||
};
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
@@ -66,7 +62,8 @@
|
||||
home = "/home/elias";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
hashedPassword = "$6$pdAJt1f0v7Zb13Ri$1WpKrErAp5JCb7eXs7EeeWYRMBLu5/WKDdMyGzJyYQDijG2NiywUXpAkl/8p1noxOOqYbb.MTw7JmTzhWGsT21";
|
||||
hashedPassword =
|
||||
"$6$pdAJt1f0v7Zb13Ri$1WpKrErAp5JCb7eXs7EeeWYRMBLu5/WKDdMyGzJyYQDijG2NiywUXpAkl/8p1noxOOqYbb.MTw7JmTzhWGsT21";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -1,15 +1,18 @@
|
||||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [ fira-code alacritty-theme ];
|
||||
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
env = {
|
||||
"TERM" = "xterm-256color";
|
||||
};
|
||||
env = { "TERM" = "xterm-256color"; };
|
||||
|
||||
font = {
|
||||
size = 10;
|
||||
normal.family = "Fira Code";
|
||||
bold.family = "Fira Code";
|
||||
italic.family = "Fira Code";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -15,6 +15,8 @@ let
|
||||
in {
|
||||
home.sessionVariables = { EDITOR = "nvim"; };
|
||||
|
||||
home.packages = with pkgs; [ nerdfonts ];
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
package = pkgs.neovim-nightly;
|
||||
|
||||
@@ -12,9 +12,7 @@
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
dotDir = ".config/zsh";
|
||||
shellAliases = {
|
||||
update = "sudo nixos-rebuild switch";
|
||||
};
|
||||
shellAliases = { update = "sudo nixos-rebuild switch"; };
|
||||
enableAutosuggestions = true;
|
||||
enableCompletion = true;
|
||||
enableVteIntegration = true;
|
||||
@@ -23,9 +21,7 @@
|
||||
size = 100000000000;
|
||||
path = "${config.xdg.dataHome}/zsh/zsh_history";
|
||||
};
|
||||
syntaxHighlighting = {
|
||||
enable = true;
|
||||
};
|
||||
syntaxHighlighting = { enable = true; };
|
||||
initExtra = ''
|
||||
PROMPT='%F{green}%n%f@%F{magenta}%m%f %F{blue}%B%~%b%f %# '
|
||||
RPROMPT='[%F{yellow}%?%f]'
|
||||
|
||||
Reference in New Issue
Block a user