109 lines
2.1 KiB
Nix
109 lines
2.1 KiB
Nix
{ pkgs, lib, ... }:
|
|
let
|
|
shellAliases = {
|
|
ll = "ls -alh";
|
|
update = "sudo nixos-rebuild switch --max-jobs 10";
|
|
update-flake = "sudo nix flake update ~/nix-config";
|
|
update-specialisation = "sudo nixos-rebuild switch --specialisation --max-jobs 10";
|
|
nas-update = "nixos-rebuild switch --use-remote-sudo --target-host admin@10.0.1.18 --build-host localhost --flake ~/nix-config#jallen-nas";
|
|
nas-ssh = "ssh admin@10.0.1.18";
|
|
};
|
|
|
|
gitAliases = {
|
|
co = "checkout";
|
|
ci = "commit";
|
|
cia = "commit --amend";
|
|
s = "status";
|
|
st = "status";
|
|
b = "branch";
|
|
# p = "pull --rebase";
|
|
pu = "push";
|
|
};
|
|
in
|
|
{
|
|
|
|
home.username = "matt";
|
|
home.homeDirectory = "/home/matt";
|
|
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; [
|
|
# gamescope # using chaotic git version
|
|
# gamescope-wsi # using chaotic git version
|
|
age
|
|
bottles
|
|
chromium
|
|
deadnix
|
|
discord
|
|
fastfetch
|
|
firefox
|
|
freerdp
|
|
gamescope_git
|
|
gamescope-wsi_git
|
|
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
|
|
protonup
|
|
protontricks
|
|
protonvpn-gui
|
|
protonvpn-gui
|
|
python3
|
|
python312Packages.tox
|
|
python312Packages.setuptools
|
|
python312Packages.pytest
|
|
python312Packages.pytest-cov
|
|
python312Packages.pyaml
|
|
sops
|
|
spotify
|
|
ssh-to-pgp
|
|
tree
|
|
vesktop
|
|
virt-manager
|
|
vmware-horizon-client
|
|
vorta
|
|
vscode
|
|
];
|
|
}
|