This commit is contained in:
hand7s 2025-04-21 18:32:39 +03:00
commit b6cdc78668
210 changed files with 9929 additions and 0 deletions

9
hand7s/home/defaults.nix Normal file
View file

@ -0,0 +1,9 @@
{
...
}: {
home = {
stateVersion = "24.11";
username = "hand7s";
homeDirectory = "/home/hand7s";
};
}

26
hand7s/home/gui.nix Normal file
View file

@ -0,0 +1,26 @@
{
osConfig,
lib,
...
}:{
home = {
gui = {
enable = lib.mkIf (
osConfig.networking.hostName == "s0mePC-nix" || osConfig.networking.hostName == "s0melapt0p-nix"
) true;
sessionType = if (
osConfig.networking.hostName == "s0mePC-nix"
) then (
"Hyprland"
) else if (
osConfig.networking.hostName == "s0melapt0p-nix"
) then (
"Sway"
) else (
"None"
);
};
};
}

13
hand7s/home/keyboard.nix Normal file
View file

@ -0,0 +1,13 @@
{
...
}: {
home = {
keyboard = {
variant = "qwerty";
layout = "us, ru";
options = [
"grp:caps_toggle"
];
};
};
}

49
hand7s/home/packages.nix Normal file
View file

@ -0,0 +1,49 @@
{
osConfig,
inputs,
pkgs,
lib,
...
}: let
freesm-launcher = inputs.freesm.packages.${pkgs.system}.freesmlauncher;
in {
home = {
packages = with pkgs; [
gh
sd
nvd
git
dust
procs
gping
dconf
tokei
ifuse
trippy
bottom
kubectl
yt-dlp
ripgrep
tty-clock
freesm-launcher
libimobiledevice
nix-output-monitor
] ++lib.optionals (
osConfig.networking.hostName == "s0mePC-nix"
) [
tetrio-desktop
netbird-ui
thunderbird
mindustry
qbittorrent-enhanced
] ++ lib.optionals (
osConfig.networking.hostName == "s0melapt0p-nix"
) [
iwgtk
brightnessctl
];
};
}

View file

@ -0,0 +1,11 @@
{
...
}: {
home = {
shellAliases = {
e = "eza";
et = "eza -T";
k = "kubectl";
};
};
}