add common from old config

This commit is contained in:
Anish L 2021-09-26 21:50:35 +10:00
parent 79436f8c1d
commit a782455bf0

111
hosts/common.nix Normal file
View file

@ -0,0 +1,111 @@
{ config, pkgs, ... }:
{
imports = [
# ./nvim.nix
# ./unstable.nix
];
environment.systemPackages = with pkgs; [
htop
iftop
wget
curl
exa
bat
fd
ag
tcpdump
whois
mtr
file
lsof
atool
inotify-tools
strace
zip
unzip
rsync
#tmux
pwgen
glow
gitAndTools.gitFull
#neovim defined in ./nvim.nix
#firefox
#fractal
#pinentry_gnome
pass
gcc
less
mpv
zathura
#qmk_firmware
gdb
vcv-rack
#xdotool
#neofetch
#calibre
#openvpn
gimp
xxd
kitty
taskwarrior
#gnupg
openjdk
glslviewer
filezilla
signal-desktop
#wire-desktop
#tdesktop
#feedreader
newsflash
syncthing
dijo
#kdeconnect
#ssb-patchwork
#gnome3.gnome-tweaks
#gnome3.pomodoro
#gnomeExtensions.gsconnect
#gnomeExtensions.taskwhisperer
#gnome3.networkmanager-openvpn
#python3Packages.youtube-dl
#appimage-run
#home-manager
libreoffice
fontconfig
#hugo
#processing
#nextcloud-client
zsh-powerlevel10k
powerline-fonts
supercollider
haskellPackages.tidal
# vim-zettel
pandoc
];
programs.bash.enableCompletion = true;
# needed for vcv-rack
nixpkgs.config.allowUnfree = true;
system.copySystemConfiguration = true;
#services.syncthing = {
# enable = true;
# openDefaultPorts = true;
# systemService = true;
# user = "anish";
# dataDir = "/home/anish/usr/syncthing";
#};
#zsh powerlevel10k
programs.zsh.enable = true;
programs.zsh.promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
users.users.anish.shell = pkgs.zsh;
#android
programs.adb.enable = true;
users.users.anish.extraGroups = ["adbusers"];
}