This commit is contained in:
tess 2023-02-20 18:48:43 +01:00
commit eb304e5862
3 changed files with 7 additions and 45 deletions

View File

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

View File

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

View File

@ -6,6 +6,6 @@ git pull
cp -r /etc/nixos/ ./backup
sudo cp -r ./configuration.nix ./nvim.nix ./loris.nix /etc/nixos/
sudo cp -r ./configuration.nix /etc/nixos/
sudo nixos-rebuild switch --upgrade