Compare commits
2 commits
47cff33de9
...
7562c64008
Author | SHA1 | Date | |
---|---|---|---|
7562c64008 | |||
f0e37c6ee2 |
2 changed files with 27 additions and 11 deletions
|
@ -11,8 +11,22 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot = {
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
loader = {
|
||||||
|
systemd-boot.enable = true;
|
||||||
|
efi.canTouchEfiVariables = true;
|
||||||
|
};
|
||||||
|
initrd = {
|
||||||
|
supportedFilesystems = [ "nfs" ];
|
||||||
|
kernelModules = [ "nfs" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# fileSystems."/mnt/xen-backups" = {
|
||||||
|
# device = "10.1.1.13:/eru/xen-backups";
|
||||||
|
# fsType = "nfs";
|
||||||
|
# };
|
||||||
|
|
||||||
|
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
|
|
||||||
|
@ -95,11 +109,11 @@
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
firefox
|
firefox
|
||||||
thunderbird
|
thunderbird
|
||||||
git
|
|
||||||
vscode
|
vscode
|
||||||
vivaldi
|
vivaldi
|
||||||
vivaldi-ffmpeg-codecs
|
vivaldi-ffmpeg-codecs
|
||||||
termius
|
termius
|
||||||
|
talhelper.packages."${pkgs.system}".default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
environment.variables.EDITOR = "vim";
|
environment.variables.EDITOR = "vim";
|
||||||
|
@ -111,7 +125,7 @@
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||||
talhelper.packages."${pkgs.system}".default
|
git
|
||||||
wget
|
wget
|
||||||
curl
|
curl
|
||||||
vim
|
vim
|
||||||
|
@ -123,6 +137,7 @@
|
||||||
ansible
|
ansible
|
||||||
gparted
|
gparted
|
||||||
lens
|
lens
|
||||||
|
nfs-utils
|
||||||
];
|
];
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = true;
|
||||||
|
|
||||||
|
|
15
home.nix
15
home.nix
|
@ -17,7 +17,7 @@
|
||||||
userName = "Joseph Hanson";
|
userName = "Joseph Hanson";
|
||||||
userEmail = "joe@veri.dev";
|
userEmail = "joe@veri.dev";
|
||||||
};
|
};
|
||||||
|
|
||||||
# exa replacement, ls replacement.
|
# exa replacement, ls replacement.
|
||||||
programs.lsd.enable = true;
|
programs.lsd.enable = true;
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
|
@ -34,8 +34,8 @@
|
||||||
df = "df -h";
|
df = "df -h";
|
||||||
du = "du -h";
|
du = "du -h";
|
||||||
};
|
};
|
||||||
# rtx hook-env | source
|
# rtx hook-env | source
|
||||||
# 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
|
set -gx PATH $PATH $HOME/.krew/bin
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
yq-go # yaml processer https://github.com/mikefarah/yq
|
yq-go # yaml processer https://github.com/mikefarah/yq
|
||||||
fzf # A command-line fuzzy finder
|
fzf # A command-line fuzzy finder
|
||||||
age # sops-age encryption
|
age # sops-age encryption
|
||||||
sops
|
sops
|
||||||
direnv # shell environment management
|
direnv # shell environment management
|
||||||
pre-commit # Pre-commit tasks for git
|
pre-commit # Pre-commit tasks for git
|
||||||
minio-client # S3 management
|
minio-client # S3 management
|
||||||
|
@ -81,12 +81,12 @@
|
||||||
# networking tools
|
# networking tools
|
||||||
mtr # A network diagnostic tool
|
mtr # A network diagnostic tool
|
||||||
iperf3
|
iperf3
|
||||||
dnsutils # `dig` + `nslookup`
|
dnsutils # `dig` + `nslookup`
|
||||||
ldns # replacement of `dig`, it provide the command `drill`
|
ldns # replacement of `dig`, it provide the command `drill`
|
||||||
aria2 # A lightweight multi-protocol & multi-source command-line download utility
|
aria2 # A lightweight multi-protocol & multi-source command-line download utility
|
||||||
socat # replacement of openbsd-netcat
|
socat # replacement of openbsd-netcat
|
||||||
nmap # A utility for network discovery and security auditing
|
nmap # A utility for network discovery and security auditing
|
||||||
ipcalc # it is a calculator for the IPv4/v6 addresses
|
ipcalc # it is a calculator for the IPv4/v6 addresses
|
||||||
|
|
||||||
# kubernetes
|
# kubernetes
|
||||||
k9s
|
k9s
|
||||||
|
@ -113,12 +113,13 @@
|
||||||
# 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
|
||||||
|
|
||||||
# productivity
|
# productivity
|
||||||
hugo # static site generator
|
hugo # static site generator
|
||||||
glow # markdown previewer in terminal
|
glow # markdown previewer in terminal
|
||||||
|
|
||||||
btop # replacement of htop/nmon
|
btop # replacement of htop/nmon
|
||||||
iotop # io monitoring
|
iotop # io monitoring
|
||||||
iftop # network monitoring
|
iftop # network monitoring
|
||||||
|
|
||||||
|
|
Reference in a new issue