Compare commits

...

11 commits

8 changed files with 230 additions and 2015 deletions

1798
flake.lock

File diff suppressed because it is too large Load diff

View file

@ -64,16 +64,9 @@
url = "github:hyprwm/xdg-desktop-portal-hyprland"; url = "github:hyprwm/xdg-desktop-portal-hyprland";
}; };
# hyprland-protocols # nixd language server
hyprland-protocols-git.url = "github:hyprwm/xdg-desktop-portal-hyprland"; nixd-git = {
url = "github:nix-community/nixd";
# hyprland-community nix
hyprland-nix = {
url = "github:hyprland-community/hyprland-nix";
inputs = {
hyprland-xdph.follows = "hyprland-xdph-git";
hyprland-protocols.follows = "hyprland-protocols-git";
};
}; };
}; };

View file

@ -131,10 +131,15 @@
}; };
}; };
windowrulev2 = "suppressevent maximize, class:.*"; # You'll probably like this. windowrulev2 = "suppressevent maximize, class:.*"; # You'll probably like this.
exec-once =
[
"waybar"
"dunst"
"1password --silent"
];
}; };
}; };
# please change the username & home direcotry to your own # please change the username & home direcotry to your own
home.username = "jahanson"; home.username = "jahanson";
home.homeDirectory = "/home/jahanson"; home.homeDirectory = "/home/jahanson";
@ -152,8 +157,6 @@
}; };
}; };
# exa replacement, ls replacement.
programs.lsd.enable = true;
programs.fish = { programs.fish = {
enable = true; enable = true;
shellAliases = { shellAliases = {
@ -172,9 +175,11 @@
# rtx activate fish | source # rtx activate fish | source
shellInit = '' shellInit = ''
direnv hook fish | source direnv hook fish | source
atuin init fish | source
set -gx PATH $PATH $HOME/.krew/bin set -gx PATH $PATH $HOME/.krew/bin
''; '';
interactiveShellInit = ''
atuin init fish | source
'';
functions = { functions = {
fish_greeting = { fish_greeting = {
description = "Set the fish greeting"; description = "Set the fish greeting";
@ -188,49 +193,17 @@
# here is some command line tools I use frequently # here is some command line tools I use frequently
# feel free to add your own or remove some of them # feel free to add your own or remove some of them
# terminal file managers # Hyprland must haves
nnn xfce.thunar # gui file manager
ranger wofi # Run Menu
yazi waybar # Wayland bar for Sway and Wlroots based compositors
dunst # A lightweight replacement for the notification-daemons provided by most desktop environments
# gui file managers
xfce.thunar
# Run Menu
wofi
# archives
zip
xz
unzip
p7zip
# utils # utils
go-task
ripgrep # recursively searches directories for a regex pattern
jq # A lightweight and flexible command-line JSON processor
yq-go # yaml processer https://github.com/mikefarah/yq
fzf # A command-line fuzzy finder
age # sops-age encryption
sops
direnv # shell environment management
pre-commit # Pre-commit tasks for git
minio-client # S3 management
shellcheck
envsubst
kustomize kustomize
_1password-gui _1password-gui
_1password _1password
# networking tools
iperf3
dnsutils # `dig` + `nslookup`
ldns # replacement of `dig`, it provide the command `drill`
aria2 # A lightweight multi-protocol & multi-source command-line download utility
socat # replacement of openbsd-netcat
nmap # A utility for network discovery and security auditing
ipcalc # it is a calculator for the IPv4/v6 addresses
# kubernetes # kubernetes
k9s k9s
kubectl kubectl
@ -243,16 +216,6 @@
lens lens
# misc # misc
fastfetch
cowsay
file
which
tree
gnused
gnutar
gawk
zstd
gnupg
fira-code-nerdfont fira-code-nerdfont
# nix related # nix related
@ -260,27 +223,12 @@
# it provides the command `nom` works just like `nix` # it provides the command `nom` works just like `nix`
# with more details log output # with more details log output
nix-output-monitor nix-output-monitor
nixd # nix lsp server # nix
inputs.nixd-git.packages.${pkgs.system}.nixd # nix lsp server
# productivity # productivity
hugo # static site generator
glow # markdown previewer in terminal glow # markdown previewer in terminal
btop # replacement of htop/nmon
iotop # io monitoring
iftop # network monitoring
# system call monitoring
strace # system call monitoring
ltrace # library call monitoring
lsof # list open files
# system tools
sysstat
lm_sensors # for `sensors` command
ethtool
pciutils # lspci
usbutils # lsusb
rtx # rtx package manager rtx # rtx package manager
# Browsers # Browsers
@ -294,32 +242,8 @@
# Dev # Dev
vscode vscode
termius termius
atuin
]; ];
# starship - an customizable prompt for any shell
programs.starship = {
enable = true;
# custom settings
settings = {
add_newline = false;
aws.disabled = true;
gcloud.disabled = true;
line_break.disabled = true;
username = {
disabled = false;
show_always = true;
format = "[$user]($style)@";
};
hostname ={
disabled = false;
ssh_only = false;
format = "[$hostname]($style) ";
ssh_symbol = "";
};
};
};
# alacritty - a cross-platform, GPU-accelerated terminal emulator # alacritty - a cross-platform, GPU-accelerated terminal emulator
programs.alacritty = { programs.alacritty = {
enable = true; enable = true;
@ -338,6 +262,39 @@
}; };
}; };
gtk = {
enable = true;
theme = {
name = "Dracula";
package = pkgs.dracula-theme;
};
iconTheme = {
name = "Dracula";
package = pkgs.dracula-icon-theme;
};
cursorTheme = {
name = "Numix-Cursor";
package = pkgs.numix-cursor-theme;
};
gtk3.extraConfig = {
Settings = ''
gtk-application-prefer-dark-theme=1
'';
};
gtk4.extraConfig = {
Settings = ''
gtk-application-prefer-dark-theme=1
'';
};
};
home.sessionVariables.GTK_THEME = "Dracula";
# This value determines the home Manager release that your # This value determines the home Manager release that your
# configuration is compatible with. This helps avoid breakage # configuration is compatible with. This helps avoid breakage
# when a new home Manager release introduces backwards # when a new home Manager release introduces backwards

View file

@ -16,9 +16,6 @@
userEmail = "joe@veri.dev"; userEmail = "joe@veri.dev";
}; };
# exa replacement, ls replacement.
programs.lsd.enable = true;
# Fish configuration # Fish configuration
programs.fish = { programs.fish = {
enable = true; enable = true;
@ -40,6 +37,9 @@
direnv hook fish | source direnv hook fish | source
set -gx PATH $PATH $HOME/.krew/bin set -gx PATH $PATH $HOME/.krew/bin
''; '';
interactiveShellInit = ''
atuin init fish | source
'';
functions = { functions = {
fish_greeting = { fish_greeting = {
description = "Set the fish greeting"; description = "Set the fish greeting";
@ -48,102 +48,17 @@
}; };
}; };
# starship - an customizable prompt for any shell
programs.starship = {
enable = true;
# custom settings
settings = {
add_newline = false;
aws.disabled = true;
gcloud.disabled = true;
line_break.disabled = true;
username = {
disabled = false;
show_always = true;
format = "[$user]($style)@";
};
hostname ={
disabled = false;
ssh_only = false;
format = "[$hostname]($style) ";
};
};
};
# Packages that should be installed to the user profile. # Packages that should be installed to the user profile.
home.packages = with pkgs; [ home.packages = with pkgs; [
# here is some command line tools I use frequently # here is some command line tools I use frequently
# feel free to add your own or remove some of them # feel free to add your own or remove some of them
fastfetch
go-task
# terminal file managers
nnn
ranger
yazi
# archives
zip
xz
unzip
p7zip
# utils
ripgrep # recursively searches directories for a regex pattern
jq # A lightweight and flexible command-line JSON processor
yq-go # yaml processer https://github.com/mikefarah/yq
fzf # A command-line fuzzy finder
age # sops-age encryption
sops
direnv # shell environment management
pre-commit # Pre-commit tasks for git
minio-client # S3 management
shellcheck
envsubst
# networking tools
mtr # A network diagnostic tool
iperf3
dnsutils # `dig` + `nslookup`
ldns # replacement of `dig`, it provide the command `drill`
aria2 # A lightweight multi-protocol & multi-source command-line download utility
socat # replacement of openbsd-netcat
nmap # A utility for network discovery and security auditing
ipcalc # it is a calculator for the IPv4/v6 addresses
# misc
cowsay
file
which
tree
gnused
gnutar
gawk
zstd
gnupg
# nix related # nix related
# #
# it provides the command `nom` works just like `nix` # it provides the command `nom` works just like `nix`
# with more details log output # with more details log output
nix-output-monitor nix-output-monitor
btop # replacement of htop/nmon
iotop # io monitoring
iftop # network monitoring
# system call monitoring
strace # system call monitoring
ltrace # library call monitoring
lsof # list open files
# system tools
sysstat
lm_sensors # for `sensors` command
ethtool
pciutils # lspci
usbutils # lsusb
]; ];
home.stateVersion = "23.11"; home.stateVersion = "23.11";

View file

@ -9,39 +9,13 @@
homeDirectory = "/home/jahanson"; homeDirectory = "/home/jahanson";
}; };
# basic configuration of git, please change to your own # basic configuration of git, please change to your own
programs.git = { programs.git = {
enable = true; enable = true;
userName = "Joseph Hanson"; userName = "Joseph Hanson";
userEmail = "joe@veri.dev"; userEmail = "joe@veri.dev";
}; };
# starship - an customizable prompt for any shell
programs.starship = {
enable = true;
# custom settings
settings = {
add_newline = false;
aws.disabled = true;
gcloud.disabled = true;
line_break.disabled = true;
username = {
disabled = false;
show_always = true;
format = "[$user]($style)@";
};
hostname ={
disabled = false;
ssh_only = false;
format = "[$hostname]($style) ";
ssh_symbol = "";
};
};
};
# exa replacement, ls replacement.
programs.lsd.enable = true;
# Fish configuration # Fish configuration
programs.fish = { programs.fish = {
enable = true; enable = true;
@ -66,6 +40,9 @@
direnv hook fish | source direnv hook fish | source
set -gx PATH $PATH $HOME/.krew/bin set -gx PATH $PATH $HOME/.krew/bin
''; '';
interactiveShellInit = ''
atuin init fish | source
'';
functions = { functions = {
fish_greeting = { fish_greeting = {
description = "Set the fish greeting"; description = "Set the fish greeting";
@ -79,75 +56,11 @@
# here is some command line tools I use frequently # here is some command line tools I use frequently
# feel free to add your own or remove some of them # feel free to add your own or remove some of them
fastfetch
go-task
# terminal file managers
nnn
ranger
yazi
# archives
zip
xz
unzip
p7zip
# utils
ripgrep # recursively searches directories for a regex pattern
jq # A lightweight and flexible command-line JSON processor
yq-go # yaml processer https://github.com/mikefarah/yq
fzf # A command-line fuzzy finder
age # sops-age encryption
sops
direnv # shell environment management
pre-commit # Pre-commit tasks for git
minio-client # S3 management
shellcheck
envsubst
# networking tools
mtr # A network diagnostic tool
iperf3
dnsutils # `dig` + `nslookup`
ldns # replacement of `dig`, it provide the command `drill`
aria2 # A lightweight multi-protocol & multi-source command-line download utility
socat # replacement of openbsd-netcat
nmap # A utility for network discovery and security auditing
ipcalc # it is a calculator for the IPv4/v6 addresses
# misc
cowsay
file
which
tree
gnused
gnutar
gawk
zstd
gnupg
# nix related # nix related
# #
# it provides the command `nom` works just like `nix` # it provides the command `nom` works just like `nix`
# with more details log output # with more details log output
nix-output-monitor nix-output-monitor
btop # replacement of htop/nmon
iotop # io monitoring
iftop # network monitoring
# system call monitoring
strace # system call monitoring
ltrace # library call monitoring
lsof # list open files
# system tools
sysstat
lm_sensors # for `sensors` command
ethtool
pciutils # lspci
usbutils # lsusb
]; ];
home.stateVersion = "23.11"; home.stateVersion = "23.11";

View file

@ -88,10 +88,100 @@
nfs-utils nfs-utils
borgbackup borgbackup
borgmatic borgmatic
];
#utils
ripgrep # recursively searches directories for a regex pattern
jq # A lightweight and flexible command-line JSON processor
yq-go # yaml processer https://github.com/mikefarah/yq
fzf # A command-line fuzzy finder
age # sops-age encryption
sops
lsd
#misc
cowsay
file
which
tree
gnused
gnutar
gawk
zstd
gnupg
fastfetch
atuin
go-task
# archives
zip
xz
unzip
p7zip
# terminal file managers
nnn
ranger
yazi
# networking tools
iperf3
dnsutils # `dig` + `nslookup`
ldns # replacement of `dig`, it provide the command `drill`
aria2 # A lightweight multi-protocol & multi-source command-line download utility
socat # replacement of openbsd-netcat
nmap # A utility for network discovery and security auditing
ipcalc # it is a calculator for the IPv4/v6 addresses
# system tools
sysstat
lm_sensors # for `sensors` command
ethtool
pciutils # lspci
usbutils # lsusb
# system call monitoring
strace # system call monitoring
ltrace # library call monitoring
lsof # list open files
btop # replacement of htop/nmon
iotop # io monitoring
iftop # network monitoring
# utils
direnv # shell environment management
pre-commit # Pre-commit tasks for git
minio-client # S3 management
shellcheck
envsubst
];
# my traceroute
programs.mtr.enable = true; programs.mtr.enable = true;
# starship - an customizable prompt for any shell
programs.starship = {
enable = true;
# custom settings
settings = {
add_newline = false;
aws.disabled = true;
gcloud.disabled = true;
line_break.disabled = true;
username = {
disabled = false;
show_always = true;
format = "[$user]($style)@";
};
hostname ={
disabled = false;
ssh_only = false;
format = "[$hostname]($style) ";
ssh_symbol = "";
};
};
};
# Enable/Start Tailscale service # Enable/Start Tailscale service
services.tailscale.enable = true; services.tailscale.enable = true;

View file

@ -19,6 +19,7 @@
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
package = inputs.hyprland-git.packages.${pkgs.system}.hyprland; package = inputs.hyprland-git.packages.${pkgs.system}.hyprland;
portalPackage = inputs.hyprland-xdph-git.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
}; };
environment.sessionVariables = { environment.sessionVariables = {
@ -86,7 +87,7 @@
# this value at the release version of the first install of this system. # this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.11"; # Did you read the comment? system.stateVersion = "24.05"; # Did you read the comment?
# Register app image as an executable and run it with appimage-run # Register app image as an executable and run it with appimage-run
boot.binfmt.registrations.appimage = { boot.binfmt.registrations.appimage = {

View file

@ -32,16 +32,6 @@
settings.KbdInteractiveAuthentication = false; settings.KbdInteractiveAuthentication = false;
}; };
services.hydra = {
enable = true;
hydraURL = "http://10.1.1.56:3000"; # externally visible URL
notificationSender = "hydra@localhost"; # e-mail of hydra service
# a standalone hydra will require you to unset the buildMachinesFiles list to avoid using a nonexistant /etc/nix/machines
buildMachinesFiles = [];
# you will probably also want, otherwise *everything* will be built from scratch
useSubstitutes = true;
};
# Open ports in the firewall. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];