66 lines
1.5 KiB
Nix
66 lines
1.5 KiB
Nix
{ pkgs, inputs, flake_path, ... }:
|
|
{
|
|
# List packages installed in system profile
|
|
environment = {
|
|
systemPackages = with pkgs; [
|
|
age
|
|
curl
|
|
gcc
|
|
git
|
|
gnome.file-roller
|
|
pulseaudio
|
|
unzip
|
|
wireplumber
|
|
wget
|
|
wl-clipboard
|
|
zip
|
|
inputs.home-manager.packages.${pkgs.system}.home-manager
|
|
];
|
|
variables = { EDITOR = "nvim"; };
|
|
pathsToLink = [ "/share/zsh" ];
|
|
};
|
|
|
|
hardware.opengl.enable = true;
|
|
|
|
# Programs
|
|
programs = {
|
|
dconf.enable = true;
|
|
direnv.enable = true;
|
|
hyprland.enable = true;
|
|
thunar = {
|
|
enable = true;
|
|
plugins = with pkgs.xfce; [
|
|
xfconf
|
|
thunar-volman
|
|
thunar-archive-plugin
|
|
thunar-media-tags-plugin
|
|
];
|
|
};
|
|
zsh = {
|
|
enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
enableCompletion = true;
|
|
autosuggestions.enable = true;
|
|
setOptions = ["PROMPT_SUBST" "appendhistory"];
|
|
shellAliases = {
|
|
ga = "git add";
|
|
gs = "git status";
|
|
gb = "git branch";
|
|
gm = "git merge";
|
|
gpl = "git pull";
|
|
gplo = "git pull origin";
|
|
gps = "git push";
|
|
gpso = "git push origin";
|
|
gc = "git commit";
|
|
gcm = "git commit -m";
|
|
gch = "git checkout";
|
|
gchb = "git checkout -b";
|
|
gcoe = "git config user.email";
|
|
gcon = "git config user.name";
|
|
all-switch = "nix-switch && home-switch";
|
|
all-update = "nix flake update ${flake_path}# && all-switch";
|
|
};
|
|
};
|
|
};
|
|
}
|