okay gamers.

This commit is contained in:
Audrey 2025-03-30 10:50:54 -07:00
parent 74d4a41162
commit 5aa1f71dc8
4 changed files with 22 additions and 4 deletions

View File

@ -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
];
}) ]; }) ];
} }

View File

@ -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; [

View File

@ -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>

View File

@ -1,4 +1,7 @@
{ pkgs, lib, config, ... }: { pkgs, lib, config, ... }:
{ {
imports = [ ./hardware-configuration.nix ]; imports = [ ./hardware-configuration.nix ];
networking.hostName = "chrysanthemum";
networking.hostId = "6bb591ac";
} }