added user override configuration

This commit is contained in:
lsoriano-mcm
2025-06-06 19:26:24 -05:00
parent 6517af5889
commit 2b1bc85514
6 changed files with 121 additions and 57 deletions
+8 -49
View File
@@ -1,49 +1,8 @@
{
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 = {
ll = "ls -l";
upd = "sudo nixos-rebuild switch --flake ~/Nixos/#desktop";
hupd = "home-manager switch --flake ~/Nixos/#desktop";
agu = "pkill gjs & ags run ~/Nixos/pkgs/ags/biscuit/app.ts & disown (jobs -p) &";
neo = "nix run github:fred-drake/neovim#";
};
# Custom Applications
apps = pkgs:
with pkgs; [
delfin
];
sshExtraConfig = ''
Host macair
User lsoriano
HostName 192.168.68.81
'';
# BUILD (optional), you can remove these blocks.
trustedUsers = [
"lsoriano"
"@groups"
"biscuit"
];
buildMachines = [
{
hostName = "192.168.68.81";
sshUser = "lsoriano";
sshKey = "/home/biscuit/.ssh/id_rsa.pub";
system = "x86_64-linux";
supportedFeatures = ["big-parallel" "kvm" "nixos-test"];
}
];
}
let
default = import ./info.default.nix;
local =
if builtins.pathExists ./info.local.nix
then import ./info.local.nix
else {};
in
default // local