Initial commit

This commit is contained in:
AXOLOTsh
2026-01-28 11:41:51 +03:00
commit c1d66293aa
52 changed files with 817 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
{ self, ... } : {
programs.bash = {
enable = true;
shellAliases = {
editor = "nano";
sync = "cd ${self} && git pull && cd -";
rebuild = "sudo nixos-rebuild switch --flake ${self}";
nix-path = "cd ${self}";
gen-list = "sudo nix-env -p /nix/var/nix/profiles/system --list-generations";
clean = "sudo nix-collect-garbage -d";
update = "sudo nix-channel --update";
update-flake = "cd ${self} && nix flake update && cd -";
upgrade = "sudo nixos-rebuild switch --upgrade --flake ${self}";
search = "nix search";
};
};
}

45
home/common/fastfetch.nix Normal file
View File

@@ -0,0 +1,45 @@
{ pkgs, ... } : {
home.packages = with pkgs; [
fastfetch
];
programs.fastfetch = {
enable = true;
settings = {
logo = {
source = "nixos";
type = "auto";
};
display = {
separator = " ";
};
modules = [
"title"
"separator"
"os"
"kernel"
"uptime"
"packages"
"shell"
"terminal"
"cpu"
"gpu"
"memory"
"swap"
"disk"
"locale"
"localip"
"break"
"colors"
];
};
};
programs.bash = {
enable = true;
shellAliases = {
fetch = "fastfetch";
};
initExtra = "fetch";
};
}

12
home/common/git.nix Normal file
View File

@@ -0,0 +1,12 @@
{ ... } : {
programs.git = {
enable = true;
settings = {
user = {
name = "AXOLOTsh";
email = "96595812+AXOLOTsh@users.noreply.github.com";
};
init.defaultBranch = "main";
};
};
}

23
home/common/packages.nix Normal file
View File

@@ -0,0 +1,23 @@
{ pkgs, ... } : {
home.packages = with pkgs; [
# region Tools
git
gh
screen
mc
btop
wget
traceroute
dnsutils
atool
zip
unzip
p7zip
# endregion
];
}