126 lines
2.6 KiB
Nix
126 lines
2.6 KiB
Nix
{ ... }:
|
|
let
|
|
shellAliases = {
|
|
ll = "ls -alh";
|
|
update-boot = "sudo nixos-rebuild boot --max-jobs 10 --build-host admin@10.0.1.18";
|
|
update-switch = "sudo nixos-rebuild switch --max-jobs 10 --build-host admin@10.0.1.18";
|
|
update-flake = "sudo nix flake update ~/nix-config";
|
|
update-nas = "nixos-rebuild switch --use-remote-sudo --target-host admin@10.0.1.18 --build-host admin@10.0.1.18 --flake ~/nix-config#jallen-nas";
|
|
nas-ssh = "kitten ssh admin@10.0.1.18";
|
|
ducks = "du -cksh * | sort -hr | head -n 15";
|
|
};
|
|
|
|
gitAliases = {
|
|
co = "checkout";
|
|
ci = "commit";
|
|
cia = "commit --amend";
|
|
s = "status";
|
|
st = "status";
|
|
b = "branch";
|
|
p = "pull --rebase";
|
|
pu = "push";
|
|
};
|
|
in
|
|
{
|
|
|
|
home.username = "deck";
|
|
home.homeDirectory = "/home/deck";
|
|
home.stateVersion = "23.11";
|
|
programs.home-manager.enable = true;
|
|
|
|
programs = {
|
|
fish.enable = false;
|
|
mangohud.enable = true;
|
|
java.enable = true;
|
|
|
|
zsh = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
autosuggestion.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
|
|
shellAliases = shellAliases;
|
|
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
plugins = [ "git" ];
|
|
theme = "fishy";
|
|
};
|
|
};
|
|
};
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "mjallen18";
|
|
userEmail = "matt.l.jallen@gmail.com";
|
|
aliases = gitAliases;
|
|
};
|
|
|
|
programs.command-not-found.enable = true;
|
|
|
|
# home.packages = with pkgs; [
|
|
# age
|
|
# apple-cursor
|
|
# bottles
|
|
# chromium
|
|
# colloid-icon-theme
|
|
# colloid-gtk-theme
|
|
# unstable.compose2nix
|
|
# coolercontrol.coolercontrol-gui
|
|
# deadnix
|
|
# discord
|
|
# fastfetch
|
|
# firefox
|
|
# freerdp
|
|
# gamescope
|
|
# gamescope-wsi
|
|
# gnome-tweaks
|
|
# gnomeExtensions.appindicator
|
|
# gnomeExtensions.arcmenu
|
|
# gnomeExtensions.dash-to-dock
|
|
# gnomeExtensions.dash-to-panel
|
|
# gnomeExtensions.tiling-assistant
|
|
# google-chrome
|
|
# goverlay
|
|
# heroic
|
|
# home-manager
|
|
# jq
|
|
# libreoffice-qt6-fresh
|
|
# lm_sensors
|
|
# lutris
|
|
# mangohud
|
|
# morph
|
|
# nextcloud-client
|
|
# nixfmt-rfc-style
|
|
# orca-slicer
|
|
# papirus-icon-theme
|
|
# piper
|
|
# pop-gtk-theme
|
|
# prismlauncher
|
|
# protonup
|
|
# protontricks
|
|
# protonvpn-gui
|
|
# protonvpn-gui
|
|
# python3
|
|
# python312Packages.tox
|
|
# python312Packages.setuptools
|
|
# python312Packages.pytest
|
|
# python312Packages.pytest-cov
|
|
# python312Packages.pyaml
|
|
# qmk
|
|
# remmina
|
|
# smile
|
|
# sops
|
|
# spotify
|
|
# ssh-to-pgp
|
|
# tree
|
|
# unigine-heaven
|
|
# vesktop
|
|
# via
|
|
# virt-manager
|
|
# vmware-horizon-client
|
|
# vorta
|
|
# vscode
|
|
# ];
|
|
}
|