global vs workstation and hosts vs profile
This commit is contained in:
parent
711e6f25ea
commit
9679110d69
4 changed files with 55 additions and 55 deletions
|
@ -28,12 +28,59 @@ with config;
|
||||||
gnupg
|
gnupg
|
||||||
go-task
|
go-task
|
||||||
|
|
||||||
|
# cli
|
||||||
|
_1password
|
||||||
|
bat
|
||||||
|
dbus
|
||||||
|
direnv
|
||||||
|
git
|
||||||
|
nix-index
|
||||||
|
python3
|
||||||
|
fzf
|
||||||
|
ripgrep
|
||||||
|
fastfetch
|
||||||
|
|
||||||
# archives
|
# archives
|
||||||
zip
|
zip
|
||||||
xz
|
xz
|
||||||
unzip
|
unzip
|
||||||
p7zip
|
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
|
||||||
|
|
||||||
# nix tools
|
# nix tools
|
||||||
nvd
|
nvd
|
||||||
];
|
];
|
||||||
|
|
|
@ -32,52 +32,9 @@ with config;
|
||||||
vlc
|
vlc
|
||||||
|
|
||||||
# cli
|
# cli
|
||||||
_1password
|
|
||||||
bat
|
|
||||||
dbus
|
|
||||||
direnv
|
|
||||||
git
|
|
||||||
nix-index
|
|
||||||
python3
|
|
||||||
fzf
|
|
||||||
ripgrep
|
|
||||||
brightnessctl
|
brightnessctl
|
||||||
fastfetch
|
|
||||||
|
|
||||||
# terminal file managers
|
# dev utils
|
||||||
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
|
shellcheck
|
||||||
envsubst
|
envsubst
|
||||||
];
|
];
|
||||||
|
|
|
@ -7,11 +7,6 @@
|
||||||
|
|
||||||
# hardware-configuration.nix - half of the hardware-configuration.nix file
|
# hardware-configuration.nix - half of the hardware-configuration.nix file
|
||||||
|
|
||||||
mySystem = {
|
|
||||||
services.openssh.enable = true;
|
|
||||||
security.wheelNeedsSudoPassword = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
# TODO build this in from flake host names
|
# TODO build this in from flake host names
|
||||||
networking.hostName = "durincore";
|
networking.hostName = "durincore";
|
||||||
|
|
||||||
|
|
|
@ -15,16 +15,17 @@
|
||||||
boot.kernelModules = [ ];
|
boot.kernelModules = [ ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
mySystem.services = {
|
mySystem = {
|
||||||
openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
};
|
security.wheelNeedsSudoPassword = false;
|
||||||
|
|
||||||
# Restic backups disabled.
|
# Restic backups disabled.
|
||||||
mySystem.system.resticBackup =
|
system.resticBackup =
|
||||||
{
|
{
|
||||||
local.enable = false;
|
local.enable = false;
|
||||||
remote.enable = false;
|
remote.enable = false;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||||||
|
|
Reference in a new issue