Update from joey@joey-laptop: Add eza, vim, delta, and reorganize displayManager options
Some checks failed
SSH and echo to file / ssh (push) Failing after 3s

This commit is contained in:
Joey Hafner 2024-09-14 19:13:34 -07:00
parent 5bcd2f4910
commit 2ae2d6767c
2 changed files with 60 additions and 15 deletions

View File

@ -10,6 +10,7 @@
bat
wl-clipboard
fd
eza
flatpak
fzf-git-sh
tmux
@ -21,6 +22,41 @@
# Programs
programs.eza = {
enable = true;
enableZshIntegration = true;
git = true;
extraOptions = [
"--color=always"
"--long"
"--icons=always"
"--no-time"
"--no-user"
];
};
## vim
programs.vim = {
enable = true;
defaultEditor = true;
settings = {
copyindent = true;
relativenumber = true;
expandtab = true;
tabstop = 2;
};
extraConfig = ''
set nocompatible
filetype on
filetype plugin on
filetype indent on
syntax on
set cursorline
set wildmenu
set wildmode=list:longest
'';
};
## OBS-Studio
programs.obs-studio = {
enable = true;
@ -58,6 +94,10 @@
extraConfig = {
core.sshCommand = "ssh -i /home/joey/.ssh/joey@joey-laptop";
};
delta.enable = true;
delta.options = {
side-by-side = true;
};
};
## Zsh
@ -71,6 +111,7 @@
shellAliases = {
cat = "bat";
fd = "fd -Lu";
ls = "eza";
fetch = "fastfetch";
neofetch = "fetch";
hmu = "home-manager switch --flake ~/Jafner.net/nix";

View File

@ -18,9 +18,11 @@
formatted;
# Configure mouse and touchpad
services.libinput.enable = true;
services.libinput.mouse.naturalScrolling = true;
services.libinput.touchpad.naturalScrolling = true;
services.libinput = {
enable = true;
mouse.naturalScrolling = true;
touchpad.naturalScrolling = true;
};
# Enable passwordless sudo
security.sudo = {
@ -70,20 +72,22 @@
};
# Configure displayManager
services.displayManager.autoLogin = {
services.displayManager = {
enable = true;
user = "joey";
};
services.displayManager.sddm = {
enable = true;
autoNumlock = true;
wayland.enable = true;
wayland.compositor = "kwin";
settings.Autologin.Session = "plasma.desktop";
settings.Autologin.User = "joey";
autoLogin.enable = true;
autoLogin.user = "joey";
defaultSession = "plasma";
sddm = {
enable = true;
autoNumlock = true;
};
};
systemd.services."getty@tty1".enable = false;
systemd.services."autovt@tty1".enable = false;
# Disable systemd's getty and autovt on tty1
systemd.services = {
"getty@tty1".enable = false;
"autovt@tty1".enable = false;
};
# Configure X11 server
services.xserver.enable = true;