This commit is contained in:
lsoriano-mcm
2025-06-09 09:58:14 -05:00
parent f23d023551
commit 4dee2bf44f
5 changed files with 64 additions and 6 deletions
-2
View File
@@ -1,2 +0,0 @@
info.local.nix
config.local.nix
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
hostname = "nixos"; hostname = "nixos";
username = "biscuit"; username = "lsoriano";
timezone = "America/Chicago"; timezone = "America/Chicago";
vpn = { vpn = {
@@ -10,7 +10,7 @@
terminal = { terminal = {
termFont = "JetBrainsMono Nerd Font"; # e.g., JetBrainsMono Nerd Font termFont = "JetBrainsMono Nerd Font"; # e.g., JetBrainsMono Nerd Font
termSize = "20"; termSize = "11";
termShell = "zsh"; termShell = "zsh";
shellAliases = { shellAliases = {
ls = "ls --color=auto"; ls = "ls --color=auto";
+59
View File
@@ -0,0 +1,59 @@
{
hostname = "MacBook-Nix";
username = "lsoriano";
timezone = "America/Chicago";
vpn = {
vpnEnable = false;
vpnSecretFile = "/home/biscuit/Wireguard/secret";
};
terminal = {
termFont = "JetBrainsMono Nerd Font"; # e.g., JetBrainsMono Nerd Font
termSize = "24";
termShell = "fish";
shellAliases = {
ls = "ls --color=auto";
update = ''
if [[ $(uname) == "Darwin" ]]; then
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) &";
};
};
allowUnfree = true; # allows installation of commercial apps.
touchpadSupport = false;
# 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.
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"];
}
];
};
}
+2 -2
View File
@@ -8,8 +8,8 @@
# List packages installed in system profile. To search by name, run: # List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget # $ nix-env -qaP | grep wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
vim python313
neovim python3Packages.virtualenv
]; ];
# Auto upgrade nix package and the daemon service. # Auto upgrade nix package and the daemon service.
+1
View File
@@ -18,6 +18,7 @@
antidote = { antidote = {
enable = true; enable = true;
plugins = [ plugins = [
"MichaelAquilina/zsh-autoswitch-virtualenv"
"jeffreytse/zsh-vi-mode" "jeffreytse/zsh-vi-mode"
"zdharma-continuum/fast-syntax-highlighting kind:defer" "zdharma-continuum/fast-syntax-highlighting kind:defer"
"zsh-users/zsh-autosuggestions kind:defer" "zsh-users/zsh-autosuggestions kind:defer"