added user override configuration
This commit is contained in:
@@ -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"];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -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"];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -1,49 +1,8 @@
|
|||||||
{
|
let
|
||||||
hostname = "nixos";
|
default = import ./info.default.nix;
|
||||||
username = "biscuit";
|
local =
|
||||||
timezone = "America/Chicago";
|
if builtins.pathExists ./info.local.nix
|
||||||
|
then import ./info.local.nix
|
||||||
vpnEnable = true;
|
else {};
|
||||||
vpnSecretFile = "/home/biscuit/Wireguard/secret";
|
in
|
||||||
|
default // local
|
||||||
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"];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{pkgs, ...}: let
|
{pkgs, ...}: let
|
||||||
info = import ../../info.nix;
|
info = import ../../info.nix;
|
||||||
in {
|
in {
|
||||||
home.packages = info.apps pkgs;
|
home.packages = info.linux-apps pkgs;
|
||||||
}
|
}
|
||||||
|
|||||||
+6
-6
@@ -1,11 +1,11 @@
|
|||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
../../pkgs/fastfetch/default.nix
|
../pkgs/fastfetch/default.nix
|
||||||
../../pkgs/git/default.nix
|
../pkgs/git/default.nix
|
||||||
../../pkgs/kitty/default.nix
|
../pkgs/kitty/default.nix
|
||||||
../../pkgs/neovim/default.nix
|
../pkgs/neovim/default.nix
|
||||||
../../pkgs/fish/default.nix
|
../pkgs/fish/default.nix
|
||||||
../../pkgs/starship/default.nix
|
../pkgs/starship/default.nix
|
||||||
# ../../pkgs/zsh/default.nix
|
# ../../pkgs/zsh/default.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,9 @@
|
|||||||
|
|
||||||
font_size = 12.0;
|
font_size = 12.0;
|
||||||
font_family = termFont;
|
font_family = termFont;
|
||||||
|
bold_font = "auto";
|
||||||
|
italic_font = "auto";
|
||||||
|
bold_italic_font = "auto";
|
||||||
# optimization
|
# optimization
|
||||||
input_delay = 0;
|
input_delay = 0;
|
||||||
repaint_delay = 2;
|
repaint_delay = 2;
|
||||||
|
|||||||
Reference in New Issue
Block a user