Compare commits

..

1 commit

Author SHA1 Message Date
e5de3ca526 Lock file maintenance 2024-03-07 05:02:17 +00:00
8 changed files with 2012 additions and 227 deletions

1792
flake.lock

File diff suppressed because it is too large Load diff

View file

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

View file

@ -131,15 +131,10 @@
}; };
}; };
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";
@ -157,6 +152,8 @@
}; };
}; };
# exa replacement, ls replacement.
programs.lsd.enable = true;
programs.fish = { programs.fish = {
enable = true; enable = true;
shellAliases = { shellAliases = {
@ -175,10 +172,8 @@
# rtx activate fish | source # rtx activate fish | source
shellInit = '' shellInit = ''
direnv hook fish | source direnv hook fish | source
set -gx PATH $PATH $HOME/.krew/bin
'';
interactiveShellInit = ''
atuin init fish | source atuin init fish | source
set -gx PATH $PATH $HOME/.krew/bin
''; '';
functions = { functions = {
fish_greeting = { fish_greeting = {
@ -193,17 +188,49 @@
# 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
# Hyprland must haves # terminal file managers
xfce.thunar # gui file manager nnn
wofi # Run Menu ranger
waybar # Wayland bar for Sway and Wlroots based compositors yazi
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
@ -216,6 +243,16 @@
lens lens
# misc # misc
fastfetch
cowsay
file
which
tree
gnused
gnutar
gawk
zstd
gnupg
fira-code-nerdfont fira-code-nerdfont
# nix related # nix related
@ -223,12 +260,27 @@
# 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
# nix nixd # nix lsp server
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
@ -242,8 +294,32 @@
# 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;
@ -262,39 +338,6 @@
}; };
}; };
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,6 +16,9 @@
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;
@ -37,9 +40,6 @@
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,17 +48,102 @@
}; };
}; };
# 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,13 +9,39 @@
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;
@ -40,9 +66,6 @@
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";
@ -56,11 +79,75 @@
# 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,99 +88,9 @@
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;
# starship - an customizable prompt for any shell programs.mtr.enable = true;
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

@ -15,11 +15,10 @@
hostName = "durincore"; # Define your hostname. hostName = "durincore"; # Define your hostname.
networkmanager.enable = true; networkmanager.enable = true;
}; };
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 = {
@ -87,7 +86,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 = "24.05"; # Did you read the comment? system.stateVersion = "23.11"; # 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,6 +32,16 @@
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 = [ ... ];