f7b315be25
This reverts commit 3ebe0c9fca.
84 lines
1.9 KiB
Nix
84 lines
1.9 KiB
Nix
{
|
|
general = {
|
|
Hostname = "hakase";
|
|
Username = "lsoriano";
|
|
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"
|
|
];
|
|
};
|
|
};
|
|
}
|