Files
nixos/info.default.nix
T
2025-06-06 19:26:24 -05:00

52 lines
1.2 KiB
Nix

{
hostname = "nixos";
username = "biscuit";
timezone = "America/Chicago";
vpnEnable = true;
vpnSecretFile = "/home/biscuit/Wireguard/secret";
allowUnfree = true;
touchpadSupport = false;
termFont = "JetBrainsMono Nerd Font"; # e.g., JetBrainsMono Nerd Font
shellAliases = {
update = ''
if [[ $(uname) == "Darwin" ]]; then
darwin-rebuild switch --flake ~/.config/nixos#macos
else
sudo nixos-rebuild switch --flake ~/.config/nixos#desktop && home-manager switch --flake ~/.config/nixos#desktop
fi
'';
agu = "pkill gjs & ags run ~/.config/nixos/pkgs/ags/biscuit/app.ts & disown (jobs -p) &";
};
# Custom Applications
linux-apps = pkgs:
with pkgs; [
delfin
];
sshExtraConfig = ''
Host macair
User biscuit
HostName 192.168.68.81
'';
# BUILD (optional), you can remove these blocks.
trustedUsers = [
"@groups"
"biscuit"
];
buildMachines = [
{
hostName = "192.168.68.81";
sshUser = "biscuit";
sshKey = "/home/biscuit/.ssh/id_rsa.pub";
system = "x86_64-linux";
supportedFeatures = ["big-parallel" "kvm" "nixos-test"];
}
];
}