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,12 @@
{ ... } : {
programs.home-manager.enable = true;
home = {
username = "axolotsh";
homeDirectory = "/home/axolotsh";
stateVersion = "25.05";
};
imports = [
./index.nix
];
}

View File

@@ -0,0 +1,9 @@
{ self, ... } : {
imports = [
"${self}/home/common/bash-aliases.nix"
"${self}/home/common/git.nix"
"${self}/home/common/fastfetch.nix"
./packages.nix
];
}

View File

@@ -0,0 +1,3 @@
{ self, pkgs, ... } : {
imports = [ "${self}/home/common/packages.nix" ];
}

12
home/axolotsh/home.nix Normal file
View File

@@ -0,0 +1,12 @@
{ ... } : {
programs.home-manager.enable = true;
home = {
username = "axolotsh";
homeDirectory = "/home/axolotsh";
stateVersion = "25.05";
};
imports = [
./index.nix
];
}

9
home/axolotsh/index.nix Normal file
View File

@@ -0,0 +1,9 @@
{ self, ... } : {
imports = [
"${self}/home/common/bash-aliases.nix"
"${self}/home/common/git.nix"
"${self}/home/common/fastfetch.nix"
./packages.nix
];
}

View File

@@ -0,0 +1,3 @@
{ self, pkgs, ... } : {
imports = [ "${self}/home/common/packages.nix" ];
}

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
];
}

View File

@@ -0,0 +1,8 @@
{ self, ... } : {
programs.bash = {
enable = true;
shellAliases = {
editor = "nano";
};
};
}

12
home/jam/home.nix Normal file
View File

@@ -0,0 +1,12 @@
{ ... } : {
programs.home-manager.enable = true;
home = {
username = "jam";
homeDirectory = "/home/jam";
stateVersion = "25.05";
};
imports = [
./index.nix
];
}

9
home/jam/index.nix Normal file
View File

@@ -0,0 +1,9 @@
{ self, ... } : {
imports = [
"${self}/home/common/fastfetch.nix"
./bash-aliases.nix
./packages.nix
];
}

3
home/jam/packages.nix Normal file
View File

@@ -0,0 +1,3 @@
{ self, pkgs, ... } : {
imports = [ "${self}/home/common/packages.nix" ];
}

View File

@@ -0,0 +1,8 @@
{ self, ... } : {
programs.bash = {
enable = true;
shellAliases = {
editor = "nano";
};
};
}

12
home/mirsem/home.nix Normal file
View File

@@ -0,0 +1,12 @@
{ ... } : {
programs.home-manager.enable = true;
home = {
username = "mirsem";
homeDirectory = "/home/mirsem";
stateVersion = "25.05";
};
imports = [
./index.nix
];
}

9
home/mirsem/index.nix Normal file
View File

@@ -0,0 +1,9 @@
{ self, ... } : {
imports = [
"${self}/home/common/fastfetch.nix"
./bash-aliases.nix
./packages.nix
];
}

3
home/mirsem/packages.nix Normal file
View File

@@ -0,0 +1,3 @@
{ self, pkgs, ... } : {
imports = [ "${self}/home/common/packages.nix" ];
}