smth
This commit is contained in:
commit
eb304e5862
|
@ -9,7 +9,6 @@
|
|||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
./hostname.nix
|
||||
./nvim.nix
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
|
@ -47,6 +46,7 @@
|
|||
|
||||
|
||||
# Enable the i3 and keyboard
|
||||
console.keyMap = "dvorak-programmer";
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
# i3
|
||||
|
@ -97,12 +97,9 @@
|
|||
services.xserver = {
|
||||
layout = "us";
|
||||
xkbVariant = "dvp";
|
||||
xkbOptions = "compose:102,numpad:shift3,kpdl:semi,keypad:atm,caps:shift,lv3:ralt_switch";
|
||||
xkbOptions = "compose:102,numpad:shift3,kpdl:semi,keypad:atm,caps:shift";
|
||||
};
|
||||
|
||||
# Configure console keymap
|
||||
console.keyMap = "no";
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
services.printing.enable = true;
|
||||
|
||||
|
@ -154,7 +151,7 @@
|
|||
i3
|
||||
autotiling
|
||||
rofi
|
||||
polybarFull
|
||||
i3status-rust
|
||||
lxappearance
|
||||
feh
|
||||
rofimoji
|
||||
|
@ -193,6 +190,7 @@
|
|||
godot_4
|
||||
nodejs
|
||||
python38
|
||||
cope
|
||||
#language servers
|
||||
rust-analyzer
|
||||
lldb #not a langage server but w/e
|
||||
|
@ -242,6 +240,8 @@
|
|||
mutt
|
||||
libwebp
|
||||
calc
|
||||
libnotify
|
||||
coreutils
|
||||
];
|
||||
|
||||
|
||||
|
|
38
nvim.nix
38
nvim.nix
|
@ -1,38 +0,0 @@
|
|||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
(neovim.override {
|
||||
configure = {
|
||||
customRC = ''
|
||||
command! -nargs=0 Prettier :CocCommand prettier.forceFormatDocument
|
||||
syntax on
|
||||
set mouse=a
|
||||
filetype plugin indent on
|
||||
let g:rustfmt_autosave = 1
|
||||
|
||||
'';
|
||||
packages.myVimPackage = with pkgs.vimPlugins; {
|
||||
start = [
|
||||
coc-nvim
|
||||
coc-prettier
|
||||
coc-texlab
|
||||
coc-rust-analyzer
|
||||
coc-html
|
||||
|
||||
rust-vim
|
||||
vimwiki
|
||||
vim-nix
|
||||
];
|
||||
opt = [ ];
|
||||
};
|
||||
};
|
||||
}
|
||||
)];
|
||||
|
||||
}
|
Loading…
Reference in New Issue