2025-07-23 13:12:09 +02:00
|
|
|
{ pkgs, config, ... }: {
|
2025-07-21 23:55:59 +02:00
|
|
|
home.username = "alisceon";
|
|
|
|
|
home.homeDirectory = "/home/alisceon";
|
|
|
|
|
home.stateVersion = "24.05";
|
2025-07-23 13:12:09 +02:00
|
|
|
manual.manpages.enable = true;
|
2025-07-20 17:46:39 +02:00
|
|
|
|
2025-07-23 13:12:09 +02:00
|
|
|
programs = {
|
|
|
|
|
fish = {
|
|
|
|
|
enable = true;
|
|
|
|
|
# Disable greeting
|
|
|
|
|
interactiveShellInit = ''
|
|
|
|
|
set fish_greeting
|
|
|
|
|
'';
|
|
|
|
|
preferAbbrs = true;
|
|
|
|
|
shellAbbrs = {
|
|
|
|
|
ls = "exa";
|
|
|
|
|
ll = "exa -lah";
|
|
|
|
|
grep = "rg";
|
|
|
|
|
cat = "bat";
|
|
|
|
|
tsla-fan = "ipmitool -H 10.30.0.3 -U ADMIN -P ADMIN raw 0x30 0x70 0x66 0x01 0x0";
|
|
|
|
|
nixos-switch = "sudo nixos-rebuild switch --flake .#";
|
|
|
|
|
nixos-test = "sudo nixos-rebuild build-vm --flake .#";
|
|
|
|
|
pypod = "podman run --rm -it --network host -v '.:/run' -w '/run' python /run/";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
git = {
|
|
|
|
|
enable = true;
|
|
|
|
|
userName = "alisceon";
|
|
|
|
|
userEmail = "alisceon@protonmail.com";
|
|
|
|
|
extraConfig = {
|
|
|
|
|
push = { autoSetupRemote = true; };
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
vscode.enable = true;
|
|
|
|
|
firefox = {
|
|
|
|
|
enable = true;
|
|
|
|
|
nativeMessagingHosts = [
|
|
|
|
|
pkgs.gnome-browser-connector
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
obsidian = {
|
|
|
|
|
enable = true;
|
|
|
|
|
package = pkgs.obsidian;
|
|
|
|
|
|
|
|
|
|
vaults = {
|
|
|
|
|
"Documents/Obsidian/private".enable = true;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
bat.enable = true;
|
|
|
|
|
ssh = {
|
|
|
|
|
enable = true;
|
|
|
|
|
matchBlocks = {
|
|
|
|
|
"alisceon.com" = {
|
|
|
|
|
hostname = "alisceon.com";
|
|
|
|
|
user = "opc";
|
|
|
|
|
};
|
|
|
|
|
"miscbox" = {
|
|
|
|
|
hostname = "10.1.0.11";
|
|
|
|
|
proxyJump = "alisceon.com";
|
|
|
|
|
user = "opc";
|
|
|
|
|
};
|
|
|
|
|
"blogbox" = {
|
|
|
|
|
hostname = "10.1.0.10";
|
|
|
|
|
proxyJump = "alisceon.com";
|
|
|
|
|
user = "ubuntu";
|
|
|
|
|
};
|
|
|
|
|
"filurbox" = {
|
|
|
|
|
hostname = "oci.malice.zone";
|
|
|
|
|
user = "opc";
|
|
|
|
|
};
|
|
|
|
|
"dnspi" = {
|
|
|
|
|
hostname = "10.40.0.2";
|
|
|
|
|
user = "pi";
|
|
|
|
|
};
|
|
|
|
|
"tsla-exporter-bridge" = {
|
|
|
|
|
hostname = "alma02.lab.the.malice.zone";
|
|
|
|
|
user = "root";
|
|
|
|
|
};
|
|
|
|
|
"tsla-runner-boi" = {
|
|
|
|
|
hostname = "alma03.lab.the.malice.zone";
|
|
|
|
|
user = "root";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
2025-07-21 23:55:59 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
|
signal-desktop
|
|
|
|
|
discord
|
|
|
|
|
eza
|
|
|
|
|
fd
|
|
|
|
|
ripgrep
|
|
|
|
|
];
|
|
|
|
|
|
2025-07-23 13:12:09 +02:00
|
|
|
xdg = {
|
|
|
|
|
enable = true;
|
|
|
|
|
userDirs.enable = true;
|
|
|
|
|
mime.enable = true;
|
|
|
|
|
};
|
|
|
|
|
|
2025-07-21 23:55:59 +02:00
|
|
|
services.syncthing = {
|
|
|
|
|
enable = true;
|
|
|
|
|
};
|
2025-07-20 17:46:39 +02:00
|
|
|
}
|