Files
nixos/config.nix
T
lsoriano-mcm d00c9836d6 test2
2025-06-28 17:28:50 -05:00

89 lines
2.0 KiB
Nix

{
general = {
<<<<<<< HEAD
Hostname = "hakase";
Username = "lsoriano";
=======
Hostname = "TEXAS";
Username = "kenji";
>>>>>>> parent of 3ebe0c9 (udp)
Timezone = "America/Chicago";
allowUnfree = true; # allows installation of commercial apps.
terminal = {
Font = "JetBrainsMono Nerd Font"; # e.g., JetBrainsMono Nerd Font
Size = "11";
Shell = "fish";
Aliases = {
ls = "ls --color=auto";
update = ''
if [[ $(uname) == "Darwin" ]];
sudo 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) &";
};
};
gitProfile = {
User = "kenji";
Email = "kenji@sakamoto.dev";
defaultBranch = "master";
};
ssh = {
extraConfig = ''
Host macair
User biscuit
HostName 192.168.68.81
'';
};
};
builds = {
builder = {
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"];
}
];
};
};
linux = {
system = "x86_64";
vpn = {
Enable = true;
secretFile = builtins.toPath ./secrets/.vpn.yaml;
};
touchpadSupport = false;
logitech-hardware.enable = false;
# Custom Applications
linux-apps = {
my-apps = pkgs:
with pkgs; [
jellyfin-media-player
];
};
hyprconf = {
Monitor = [
# hyprctl monitors all
# monitor, resolution@refreshrate, position (e.g., 0x0 is middle, 0x1080 is top), scale
",highres@highrr,auto,auto"
];
};
};
}