feat: more software
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
home.username = "l-wyatt";
|
home.username = "l-wyatt";
|
||||||
home.homeDirectory = "/home/l-wyatt";
|
home.homeDirectory = "/home/l-wyatt";
|
||||||
home.stateVersion = "25.05"; # Don't change after first setup
|
home.stateVersion = "25.11"; # Don't change after first setup
|
||||||
|
|
||||||
# Packages for this user
|
# Packages for this user
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
@@ -18,6 +18,9 @@
|
|||||||
freerdp
|
freerdp
|
||||||
bitwarden-desktop
|
bitwarden-desktop
|
||||||
bitwarden-cli
|
bitwarden-cli
|
||||||
|
lunarvim
|
||||||
|
minicom
|
||||||
|
kicad
|
||||||
];
|
];
|
||||||
|
|
||||||
# --------------------------
|
# --------------------------
|
||||||
@@ -27,6 +30,10 @@
|
|||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
||||||
|
exec-once = [
|
||||||
|
"hyprpaper"
|
||||||
|
];
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
bind = [
|
bind = [
|
||||||
"$mod, Q, exec, konsole"
|
"$mod, Q, exec, konsole"
|
||||||
@@ -49,26 +56,20 @@
|
|||||||
'';
|
'';
|
||||||
force = true;
|
force = true;
|
||||||
};
|
};
|
||||||
# Run hyprpaper to set wallpaper
|
|
||||||
wayland.windowManager.hyprland.settings = {
|
|
||||||
exec-once = [
|
|
||||||
"hyprpaper"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
# Enable Zsh and configure it
|
# Enable Zsh and configure it
|
||||||
home.file.".zshrc".force = true;
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
oh-my-zsh.enable = true;
|
oh-my-zsh.enable = true;
|
||||||
oh-my-zsh.theme = "agnoster";
|
oh-my-zsh.theme = "agnoster";
|
||||||
initContent = ''
|
initContent = ''
|
||||||
|
export SHELL=$(which zsh)
|
||||||
alias nix-shell='nix-shell --run $SHELL'
|
alias nix-shell='nix-shell --run $SHELL'
|
||||||
nix() {
|
nix() {
|
||||||
if [[ $1 == "develop" ]]; then
|
if [[ $1 == "develop" ]]; then
|
||||||
shift
|
shift
|
||||||
command nix develop -c $SHELL "$@"
|
command nix develop "$@" -c $SHELL
|
||||||
else
|
else
|
||||||
command nix "$@"
|
command nix "$@"
|
||||||
fi
|
fi
|
||||||
@@ -87,11 +88,14 @@
|
|||||||
# Manage your git configuration declaratively
|
# Manage your git configuration declaratively
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "0xWheatyz";
|
settings = {
|
||||||
userEmail = "wyatt@leeworks.dev";
|
user = {
|
||||||
extraConfig = {
|
name = "0xWheatyz";
|
||||||
|
email = "wyatt@leeworks.dev";
|
||||||
|
};
|
||||||
init.defaultBranch = "master";
|
init.defaultBranch = "master";
|
||||||
push.autoSetupRemote = "true";
|
push.autoSetupRemote = "true";
|
||||||
|
alias.lg = "log --graph --pretty=format:'%C(yellow)%h%Creset -%C(red)%d%Creset %s %Cgreen(%cr)%Creset %C(bold blue)<%an>%Creset' --abbrev-commit";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -134,8 +138,14 @@
|
|||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableDefaultConfig = false;
|
||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
"vps" = {
|
"*" = {
|
||||||
|
controlMaster = "auto";
|
||||||
|
controlPersist = "1m";
|
||||||
|
controlPath = "~/.ssh/cm-%r@%h:%p";
|
||||||
|
};
|
||||||
|
"vps" = {
|
||||||
hostname = "45.79.198.105";
|
hostname = "45.79.198.105";
|
||||||
user = "wyatt";
|
user = "wyatt";
|
||||||
port = 22;
|
port = 22;
|
||||||
@@ -152,6 +162,7 @@
|
|||||||
hostname = "10.0.0.20";
|
hostname = "10.0.0.20";
|
||||||
port = 22;
|
port = 22;
|
||||||
user = "l-wyatt";
|
user = "l-wyatt";
|
||||||
|
proxyJump = "_JumpHost";
|
||||||
};
|
};
|
||||||
"git" = {
|
"git" = {
|
||||||
hostname = "10.0.0.9";
|
hostname = "10.0.0.9";
|
||||||
@@ -167,9 +178,6 @@
|
|||||||
# ControlPath /tmp/cm-%r@%h:%p
|
# ControlPath /tmp/cm-%r@%h:%p
|
||||||
# '';
|
# '';
|
||||||
|
|
||||||
controlMaster = "auto";
|
|
||||||
controlPersist = "1m";
|
|
||||||
controlPath = "~/.ssh/cm-%r@%h:%p";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user