Compare commits
2 commits
04767f4059
...
b5885e7fa8
Author | SHA1 | Date | |
---|---|---|---|
b5885e7fa8 | |||
cab57d1dcc |
1 changed files with 7 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running 'nixos-help').
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
# Bootloader.
|
||||
|
@ -65,7 +65,7 @@
|
|||
programs.neovim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
defaultEditor = true;
|
||||
vimAlias = true;
|
||||
configure = {
|
||||
customRC = ''
|
||||
set number
|
||||
|
@ -92,6 +92,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
environment.variables = lib.mkIf config.programs.neovim.enable {
|
||||
EDITOR = "${config.programs.neovim.finalPackage}/bin/nvim";
|
||||
VISUAL = "${config.programs.neovim.finalPackage}/bin/nvim";
|
||||
};
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
|
|
Loading…
Reference in a new issue