diff --git a/hosts/common.nix b/hosts/common.nix new file mode 100644 index 00000000..97214058 --- /dev/null +++ b/hosts/common.nix @@ -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"]; + +}