mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-22 14:06:30 +00:00
Alter DPI and add nyxt config
This commit is contained in:
parent
b0545585be
commit
9cec6b4611
3 changed files with 41 additions and 21 deletions
|
@ -77,6 +77,7 @@ ln -s $PWD/vpn ~/.config/vpn
|
||||||
# link other dotfiles
|
# link other dotfiles
|
||||||
printf "\033[33m[info] Linking config files\033[39m"
|
printf "\033[33m[info] Linking config files\033[39m"
|
||||||
ln -s $PWD/kitty/ ~/.config/kitty
|
ln -s $PWD/kitty/ ~/.config/kitty
|
||||||
|
ln -s $PWD/nyxt/ ~/.config/next
|
||||||
ln -s $PWD/.urlview ~/.urlview
|
ln -s $PWD/.urlview ~/.urlview
|
||||||
ln -s $PWD/.gitconfig ~/.gitconfig
|
ln -s $PWD/.gitconfig ~/.gitconfig
|
||||||
ln -s $PWD/git-commit-template.txt ~/.gitcommit_template
|
ln -s $PWD/git-commit-template.txt ~/.gitcommit_template
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
|
|
||||||
# make the screen usable
|
# make the screen usable
|
||||||
#hardware.video.hidpi.enable = true;
|
#hardware.video.hidpi.enable = true;
|
||||||
services.xserver.dpi = 180;
|
#services.xserver.dpi = 180;
|
||||||
|
services.xserver.dpi = 192;
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
GDK_SCALE = "2";
|
GDK_SCALE = "2";
|
||||||
GDK_DPI_SCALE = "0.5";
|
GDK_DPI_SCALE = "0.5";
|
||||||
|
@ -51,6 +52,8 @@
|
||||||
# replicates the default behaviour.
|
# replicates the default behaviour.
|
||||||
networking.useDHCP = false;
|
networking.useDHCP = false;
|
||||||
networking.interfaces.enp0s31f6.useDHCP = true;
|
networking.interfaces.enp0s31f6.useDHCP = true;
|
||||||
|
# USB-C dock
|
||||||
|
networking.interfaces.enp0s20f0u2u1.useDHCP = true;
|
||||||
networking.interfaces.wlp0s20f3.useDHCP = true;
|
networking.interfaces.wlp0s20f3.useDHCP = true;
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
|
@ -179,7 +182,10 @@
|
||||||
package = pkgs.bluezFull;
|
package = pkgs.bluezFull;
|
||||||
# enable A2DP
|
# enable A2DP
|
||||||
config = {
|
config = {
|
||||||
General = { Enable = "Source,Sink,Media,Socket"; };
|
General = {
|
||||||
|
Enable = "Source,Sink,Media";
|
||||||
|
Disable = "Socket";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
|
@ -216,7 +222,7 @@
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# basic command line tooling
|
## basic command line tooling
|
||||||
wget
|
wget
|
||||||
vim
|
vim
|
||||||
w3m
|
w3m
|
||||||
|
@ -233,67 +239,72 @@
|
||||||
inetutils
|
inetutils
|
||||||
usbutils
|
usbutils
|
||||||
screen
|
screen
|
||||||
# automatic detection of display changes
|
## automatic detection of display changes
|
||||||
autorandr
|
autorandr
|
||||||
# audio management
|
## audio management
|
||||||
pavucontrol
|
pavucontrol
|
||||||
# password management
|
## password management
|
||||||
pass
|
pass
|
||||||
pinentry-curses
|
pinentry-curses
|
||||||
# mail
|
## mail
|
||||||
isync
|
isync
|
||||||
msmtp
|
msmtp
|
||||||
neomutt urlview
|
neomutt urlview
|
||||||
notmuch
|
notmuch
|
||||||
# programming languages and compilers
|
## programming languages and compilers
|
||||||
rustup
|
rustup
|
||||||
cargo-flamegraph
|
cargo-flamegraph
|
||||||
cargo-watch
|
cargo-watch
|
||||||
# python3
|
# python3
|
||||||
stack
|
stack
|
||||||
gcc
|
gcc
|
||||||
|
binutils-unwrapped
|
||||||
gnumake
|
gnumake
|
||||||
cmake
|
cmake
|
||||||
# I heard you like man pages?
|
gdb
|
||||||
|
valgrind
|
||||||
|
heaptrack
|
||||||
|
## I heard you like man pages?
|
||||||
man-pages
|
man-pages
|
||||||
# git and friends
|
## git and friends
|
||||||
git
|
git
|
||||||
gitAndTools.delta
|
gitAndTools.delta
|
||||||
gitAndTools.gitui
|
gitAndTools.gitui
|
||||||
# terminal, browsers, text editing
|
## terminal, browsers, text editing
|
||||||
kitty
|
kitty
|
||||||
vscodium
|
vscodium
|
||||||
eclipses.eclipse-platform
|
eclipses.eclipse-platform
|
||||||
typora
|
typora
|
||||||
firefox
|
firefox
|
||||||
# time tracking
|
next
|
||||||
|
## time tracking
|
||||||
watson
|
watson
|
||||||
# file managers
|
## file managers
|
||||||
ranger
|
ranger
|
||||||
xfce.thunar
|
xfce.thunar
|
||||||
# document viewers
|
## document viewers
|
||||||
mupdf
|
mupdf
|
||||||
pdfpc
|
pdfpc
|
||||||
zathura
|
zathura
|
||||||
# PDF manipulation
|
## PDF manipulation
|
||||||
podofo
|
podofo
|
||||||
poppler_utils
|
poppler_utils
|
||||||
# image manipulation
|
## image manipulation
|
||||||
gimp
|
gimp
|
||||||
inkscape
|
inkscape
|
||||||
libheif
|
libheif
|
||||||
# LaTeX
|
## LaTeX
|
||||||
texlive.combined.scheme-full
|
texlive.combined.scheme-full
|
||||||
# the eternal pain continues
|
## the eternal pain continues
|
||||||
libreoffice-fresh
|
libreoffice-fresh
|
||||||
# video and media applications
|
## video and media applications
|
||||||
zoom-us
|
zoom-us
|
||||||
teams
|
teams
|
||||||
youtube-dl
|
youtube-dl
|
||||||
mpv
|
mpv
|
||||||
streamlink
|
streamlink
|
||||||
ffmpeg-full
|
ffmpeg-full
|
||||||
# messenger
|
## messenger
|
||||||
tdesktop
|
tdesktop
|
||||||
signal-desktop
|
signal-desktop
|
||||||
(weechat.override {
|
(weechat.override {
|
||||||
|
@ -305,7 +316,7 @@
|
||||||
};
|
};
|
||||||
# extraBuildInputs = [ python38Packages.Logbook ];
|
# extraBuildInputs = [ python38Packages.Logbook ];
|
||||||
})
|
})
|
||||||
# networking
|
## networking
|
||||||
openconnect
|
openconnect
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -350,6 +361,7 @@
|
||||||
|
|
||||||
# use redshift
|
# use redshift
|
||||||
services.redshift.enable = true;
|
services.redshift.enable = true;
|
||||||
|
services.redshift.temperature.night = 3500;
|
||||||
|
|
||||||
# allow brightness control
|
# allow brightness control
|
||||||
services.illum.enable = true;
|
services.illum.enable = true;
|
||||||
|
|
7
entropy/nyxt/init.lisp
Normal file
7
entropy/nyxt/init.lisp
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
(in-package :next-user)
|
||||||
|
|
||||||
|
(defclass my-buffer (buffer)
|
||||||
|
((default-modes :initform
|
||||||
|
(cons 'vi-normal-mode (get-default 'buffer 'default-modes)))))
|
||||||
|
|
||||||
|
(setf *buffer-class* 'my-buffer)
|
Loading…
Reference in a new issue