okay gamers.
This commit is contained in:
parent
74d4a41162
commit
5aa1f71dc8
|
@ -3,6 +3,9 @@
|
||||||
config = lib.mkMerge [(lib.mkIf (pkgs.stdenv.buildPlatform == pkgs.stdenv.hostPlatform) {
|
config = lib.mkMerge [(lib.mkIf (pkgs.stdenv.buildPlatform == pkgs.stdenv.hostPlatform) {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
meld
|
meld
|
||||||
|
nixfmt-rfc-style
|
||||||
|
stdenv.cc
|
||||||
|
stdenv.cc.bintools # bins but not manpages included in stdenv.cc
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.git.config.merge.tool = "meld";
|
programs.git.config.merge.tool = "meld";
|
||||||
|
@ -45,8 +48,22 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
}) (lib.mkIf (pkgs.stdenv.buildPlatform != pkgs.stdenv.hostPlatform) {
|
}) (lib.mkIf (pkgs.stdenv.buildPlatform != pkgs.stdenv.hostPlatform) {
|
||||||
programs.vim.enable = true;
|
programs.vim = {
|
||||||
|
enable = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
package = pkgs.vim.customize {
|
||||||
|
vimrcConfig.customRC = ''
|
||||||
|
set mouse=
|
||||||
|
set hlsearch
|
||||||
|
nnoremap <CR> :noh<CR><CR>
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
programs.git.config.core.editor = "vim";
|
programs.git.config.core.editor = "vim";
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
clang
|
||||||
|
bintools
|
||||||
|
];
|
||||||
}) ];
|
}) ];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,10 +32,7 @@
|
||||||
fd
|
fd
|
||||||
curl
|
curl
|
||||||
btop
|
btop
|
||||||
nixfmt-rfc-style
|
|
||||||
file
|
file
|
||||||
stdenv.cc
|
|
||||||
stdenv.cc.bintools # bins but not manpages included in stdenv.cc
|
|
||||||
patchelf
|
patchelf
|
||||||
|
|
||||||
(python3.withPackages (p: with p; [
|
(python3.withPackages (p: with p; [
|
||||||
|
|
|
@ -21,3 +21,4 @@ filetype plugin on
|
||||||
syntax on
|
syntax on
|
||||||
|
|
||||||
nnoremap <CR> :noh<CR><CR>
|
nnoremap <CR> :noh<CR><CR>
|
||||||
|
nnoremap * :let @/='\<<C-R>=expand("<cword>")<CR>\>'<CR>:set hls<CR>
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
{
|
{
|
||||||
imports = [ ./hardware-configuration.nix ];
|
imports = [ ./hardware-configuration.nix ];
|
||||||
|
|
||||||
|
networking.hostName = "chrysanthemum";
|
||||||
|
networking.hostId = "6bb591ac";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue