Update vimrc and other files

This commit is contained in:
Felix Suchert 2022-03-10 13:24:15 +01:00
parent dcb6f7040a
commit 5447796ecf
Signed by: feliix42
GPG key ID: 24363525EA0E8A99
4 changed files with 47 additions and 7 deletions

View file

@ -4,9 +4,9 @@ syntax on
" enable autocompletion of ale " enable autocompletion of ale
let g:ale_completion_enabled = 1 let g:ale_completion_enabled = 1
" disable latex linting from ale as i've got my own plugin for that " disable latex linting from ale as i've got my own plugin for that
let g:ale_linters = { 'tex': [], 'haskell': ['hls', 'hindent'], 'rust': ['rls'] } let g:ale_linters = { 'tex': [], 'haskell': ['hls', 'hindent'], 'rust': ['analyzer'] }
"let g:ale_fixers = {'haskell': ['hindent']} "let g:ale_fixers = {'haskell': ['hindent']}
let g:ale_fixers = { 'haskell': ['hls', 'hindent'], 'rust': ['rls'] } "let g:ale_fixers = { 'haskell': ['hls', 'hindent'], 'rust': ['analyzer'] }
" Initialize plugin system " Initialize plugin system

View file

@ -10,6 +10,11 @@ profile home-docked {
output "Hewlett Packard HP ZR2440w CN43361P3M" mode 1920x1200 position 1920,0 transform 90 output "Hewlett Packard HP ZR2440w CN43361P3M" mode 1920x1200 position 1920,0 transform 90
} }
profile home-single-monitor {
output eDP-1 mode 3840x2160 position 0,840 scale 2
output "Hewlett Packard HP ZR2440w CN43361P3M" mode 1920x1200 position 1920,0 transform 90
}
profile home { profile home {
output eDP-1 mode 3840x2160 position 0,0 scale 2 output eDP-1 mode 3840x2160 position 0,0 scale 2
output HDMI-A-2 mode 1920x1200 position 1920,0 output HDMI-A-2 mode 1920x1200 position 1920,0

View file

@ -4,6 +4,12 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let
# use unstable nixpkgs for some specific packages that are still in-dev:
# sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos-unstable
# sudo nix-channel --update
unstable = import <nixos-unstable> { config = config.nixpkgs.config; };
in
{ {
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
@ -11,6 +17,7 @@
./modules/audio.nix ./modules/audio.nix
./modules/video.nix ./modules/video.nix
#./modules/v4l2loopback.nix
./modules/virtualisation.nix ./modules/virtualisation.nix
# Desktop configuration # Desktop configuration
@ -35,6 +42,9 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
# ------------ hardware -----------------------------------------------------
hardware.keyboard.zsa.enable = true;
# ------------ networking --------------------------------------------------- # ------------ networking ---------------------------------------------------
networking.hostName = "entropy"; # Define your hostname. networking.hostName = "entropy"; # Define your hostname.
networking.wireless = { networking.wireless = {
@ -148,6 +158,8 @@
usbutils usbutils
moreutils moreutils
file file
## firmware tool for keyboard
wally-cli
## audio management ## audio management
pavucontrol pavucontrol
## password management ## password management
@ -160,10 +172,15 @@
msmtp msmtp
neomutt urlview neomutt urlview
notmuch notmuch
## programming languages and compilers ## Rust
rustup rustup
cargo-flamegraph cargo-flamegraph
cargo-watch cargo-watch
unstable.rust-analyzer
unstable.helix
## other programming languages and compilers
stack stack
haskell-language-server haskell-language-server
gcc gcc
@ -192,6 +209,8 @@
## file managers ## file managers
ranger ranger
xfce.thunar xfce.thunar
## file sharing
nextcloud-client
## document viewers ## document viewers
pdfpc pdfpc
zathura zathura
@ -211,6 +230,8 @@
streamlink streamlink
ffmpeg-full ffmpeg-full
musikcube musikcube
obs-studio
obs-studio-plugins.wlrobs
## messenger ## messenger
slack slack
tdesktop tdesktop
@ -218,12 +239,24 @@
weechat weechat
## networking ## networking
openconnect openconnect
## maybe screensharing???
pipewire
xdg-desktop-portal-wlr
]; ];
xdg.portal = {
#enable = true;
gtkUsePortal = true;
wlr = {
enable = true;
settings = {
screencast = {
output_name = "eDP-1";
max_fps = 30;
chooser_type = "simple";
chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or";
};
};
};
};
# install fonts # install fonts
fonts.fonts = with pkgs; [ fonts.fonts = with pkgs; [
font-awesome font-awesome

View file

@ -8,6 +8,7 @@
ggplot2 ggplot2
rlang rlang
lazyeval lazyeval
patchwork
]; ];
}; };
rstudioEnv = rstudioWrapper.override { rstudioEnv = rstudioWrapper.override {
@ -16,6 +17,7 @@
tidyverse tidyverse
rlang rlang
lazyeval lazyeval
patchwork
]; ];
}; };
in in