mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-22 14:06:30 +00:00
Update vimrc and other files
This commit is contained in:
parent
dcb6f7040a
commit
5447796ecf
4 changed files with 47 additions and 7 deletions
|
@ -4,9 +4,9 @@ syntax on
|
|||
" enable autocompletion of ale
|
||||
let g:ale_completion_enabled = 1
|
||||
" 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': ['hls', 'hindent'], 'rust': ['rls'] }
|
||||
"let g:ale_fixers = { 'haskell': ['hls', 'hindent'], 'rust': ['analyzer'] }
|
||||
|
||||
|
||||
" Initialize plugin system
|
||||
|
|
|
@ -10,6 +10,11 @@ profile home-docked {
|
|||
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 {
|
||||
output eDP-1 mode 3840x2160 position 0,0 scale 2
|
||||
output HDMI-A-2 mode 1920x1200 position 1920,0
|
||||
|
|
|
@ -4,6 +4,12 @@
|
|||
|
||||
{ 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 =
|
||||
[ # Include the results of the hardware scan.
|
||||
|
@ -11,6 +17,7 @@
|
|||
|
||||
./modules/audio.nix
|
||||
./modules/video.nix
|
||||
#./modules/v4l2loopback.nix
|
||||
./modules/virtualisation.nix
|
||||
|
||||
# Desktop configuration
|
||||
|
@ -35,6 +42,9 @@
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# ------------ hardware -----------------------------------------------------
|
||||
hardware.keyboard.zsa.enable = true;
|
||||
|
||||
# ------------ networking ---------------------------------------------------
|
||||
networking.hostName = "entropy"; # Define your hostname.
|
||||
networking.wireless = {
|
||||
|
@ -148,6 +158,8 @@
|
|||
usbutils
|
||||
moreutils
|
||||
file
|
||||
## firmware tool for keyboard
|
||||
wally-cli
|
||||
## audio management
|
||||
pavucontrol
|
||||
## password management
|
||||
|
@ -160,10 +172,15 @@
|
|||
msmtp
|
||||
neomutt urlview
|
||||
notmuch
|
||||
## programming languages and compilers
|
||||
## Rust
|
||||
rustup
|
||||
cargo-flamegraph
|
||||
cargo-watch
|
||||
|
||||
unstable.rust-analyzer
|
||||
unstable.helix
|
||||
|
||||
## other programming languages and compilers
|
||||
stack
|
||||
haskell-language-server
|
||||
gcc
|
||||
|
@ -192,6 +209,8 @@
|
|||
## file managers
|
||||
ranger
|
||||
xfce.thunar
|
||||
## file sharing
|
||||
nextcloud-client
|
||||
## document viewers
|
||||
pdfpc
|
||||
zathura
|
||||
|
@ -211,6 +230,8 @@
|
|||
streamlink
|
||||
ffmpeg-full
|
||||
musikcube
|
||||
obs-studio
|
||||
obs-studio-plugins.wlrobs
|
||||
## messenger
|
||||
slack
|
||||
tdesktop
|
||||
|
@ -218,12 +239,24 @@
|
|||
weechat
|
||||
## networking
|
||||
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
|
||||
fonts.fonts = with pkgs; [
|
||||
font-awesome
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
ggplot2
|
||||
rlang
|
||||
lazyeval
|
||||
patchwork
|
||||
];
|
||||
};
|
||||
rstudioEnv = rstudioWrapper.override {
|
||||
|
@ -16,6 +17,7 @@
|
|||
tidyverse
|
||||
rlang
|
||||
lazyeval
|
||||
patchwork
|
||||
];
|
||||
};
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue