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
+51
View File
@@ -0,0 +1,51 @@
{
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"];
}
];
}
+52
View File
@@ -0,0 +1,52 @@
{
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 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"];
}
];
}
+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
+1 -1
View File
@@ -1,5 +1,5 @@
{pkgs, ...}: let
info = import ../../info.nix;
in {
home.packages = info.apps pkgs;
home.packages = info.linux-apps pkgs;
}
+6 -6
View File
@@ -1,11 +1,11 @@
{...}: {
imports = [
../../pkgs/fastfetch/default.nix
../../pkgs/git/default.nix
../../pkgs/kitty/default.nix
../../pkgs/neovim/default.nix
../../pkgs/fish/default.nix
../../pkgs/starship/default.nix
../pkgs/fastfetch/default.nix
../pkgs/git/default.nix
../pkgs/kitty/default.nix
../pkgs/neovim/default.nix
../pkgs/fish/default.nix
../pkgs/starship/default.nix
# ../../pkgs/zsh/default.nix
];
}
+3 -1
View File
@@ -8,7 +8,9 @@
font_size = 12.0;
font_family = termFont;
bold_font = "auto";
italic_font = "auto";
bold_italic_font = "auto";
# optimization
input_delay = 0;
repaint_delay = 2;