officially cooked
This commit is contained in:
parent
9f8084c1cf
commit
92f12974fa
7 changed files with 338 additions and 284 deletions
133
home/alisceon.nix
Normal file
133
home/alisceon.nix
Normal file
|
|
@ -0,0 +1,133 @@
|
|||
{ pkgs, config, hostName, ... }: {
|
||||
home.username = "alisceon";
|
||||
home.homeDirectory = "/home/alisceon";
|
||||
home.stateVersion = "24.05";
|
||||
manual.manpages.enable = true;
|
||||
|
||||
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 .#${hostName}";
|
||||
nixos-test = "sudo nixos-rebuild build-vm --flake .#${hostName}";
|
||||
pypod = "podman run --rm -it --network host -v '.:/run' -w '/run' python /run/";
|
||||
};
|
||||
}; # end fish
|
||||
git = {
|
||||
enable = true;
|
||||
userName = "alisceon";
|
||||
userEmail = "alisceon@protonmail.com";
|
||||
extraConfig = {
|
||||
push = { autoSetupRemote = true; };
|
||||
};
|
||||
}; # end git
|
||||
obsidian.enable = true;
|
||||
vscode.enable = true;
|
||||
firefox = {
|
||||
enable = true;
|
||||
nativeMessagingHosts = [
|
||||
pkgs.gnome-browser-connector
|
||||
];
|
||||
}; # end firefox
|
||||
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";
|
||||
};
|
||||
};
|
||||
}; # end ssh
|
||||
}; # end programs
|
||||
|
||||
home.packages = with pkgs; [
|
||||
signal-desktop
|
||||
discord
|
||||
eza
|
||||
fd
|
||||
ripgrep
|
||||
];
|
||||
|
||||
xdg = {
|
||||
enable = true;
|
||||
userDirs.enable = true;
|
||||
mime.enable = true;
|
||||
};
|
||||
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
};
|
||||
dconf.enable = true;
|
||||
dconf.settings = {
|
||||
"org/gnome/desktop/background" = {
|
||||
color-shading-type = "solid";
|
||||
picture-options = "zoom";
|
||||
primary-color = "#000000000000";
|
||||
secondary-color = "#000000000000";
|
||||
picture-uri = "org.gnome.desktop.background picture-uri 'file:///home/alisceon/Pictures/songbird/Songbird4.png'";
|
||||
picture-uri-dark = "org.gnome.desktop.background picture-uri 'file:///home/alisceon/Pictures/songbird/Songbird4.png'";
|
||||
};
|
||||
"org/gnome/desktop/interface" = {
|
||||
accent-color = "red";
|
||||
color-scheme = "prefer-dark";
|
||||
};
|
||||
"org/gnome/shell" = {
|
||||
disable-user-extensions = false;
|
||||
enabled-extensions = [ pkgs.gnomeExtensions.ddterm.extensionUuid ];
|
||||
favorite-apps = [
|
||||
"org.gnome.Nautilus.desktop"
|
||||
"firefox.desktop"
|
||||
"vscode.desktop"
|
||||
"obsidian.desktop"
|
||||
"discord.desktop"
|
||||
"signal-desktop.desktop"
|
||||
];
|
||||
};
|
||||
"com/github/amezin/ddterm" = {
|
||||
ddterm-toggle-hotkey = [ "<Super>Return" ];
|
||||
};
|
||||
}; # end dconf.settings
|
||||
#overide broken obsidian config
|
||||
xdg.configFile."obsidian/obsidian.json".source = builtins.toPath ./conf/obsidian.json;
|
||||
|
||||
home.file = {
|
||||
|
||||
}; # end home.file
|
||||
} # end file
|
||||
Loading…
Add table
Add a link
Reference in a new issue