moar
This commit is contained in:
@@ -1,33 +1,44 @@
|
||||
{ config, pkgs, inputs, ... }:
|
||||
{lib, config, pkgs, inputs, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.kop.cli-tools;
|
||||
in
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
wget
|
||||
pciutils
|
||||
nixos-option
|
||||
btop
|
||||
git
|
||||
killall
|
||||
xclip
|
||||
usbutils
|
||||
inputs.agenix.packages."x86_64-linux".default
|
||||
fastfetch
|
||||
pdfgrep
|
||||
ncdu
|
||||
glxinfo
|
||||
vulkan-tools
|
||||
ffmpeg
|
||||
nethogs
|
||||
dig
|
||||
smartmontools
|
||||
bc
|
||||
xxd
|
||||
tldr
|
||||
file
|
||||
unzip
|
||||
lsof
|
||||
screen
|
||||
tmux
|
||||
fatrace # monitor filesystem events
|
||||
ripgrep
|
||||
];
|
||||
options.kop.cli-tools = {
|
||||
enable = mkEnableOption "Enables cli-tools";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
wget
|
||||
pciutils
|
||||
nixos-option
|
||||
btop
|
||||
git
|
||||
killall
|
||||
xclip
|
||||
usbutils
|
||||
inputs.agenix.packages."x86_64-linux".default
|
||||
fastfetch
|
||||
pdfgrep
|
||||
ncdu
|
||||
glxinfo
|
||||
vulkan-tools
|
||||
ffmpeg
|
||||
nethogs
|
||||
dig
|
||||
smartmontools
|
||||
bc
|
||||
xxd
|
||||
tldr
|
||||
file
|
||||
unzip
|
||||
lsof
|
||||
screen
|
||||
tmux
|
||||
fatrace # monitor filesystem events
|
||||
ripgrep
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{pkgs, config, ...}:
|
||||
{
|
||||
imports = [
|
||||
../cli-tools.nix
|
||||
../docker.nix
|
||||
#../fh/scanning.nix
|
||||
../flatpak.nix
|
||||
@@ -30,10 +29,11 @@
|
||||
];
|
||||
|
||||
kop = {
|
||||
wooting.enable = true;
|
||||
hardware.wooting.enable = true;
|
||||
tmpfs.enable = true;
|
||||
wireshark.enable = true;
|
||||
virt-manager.enable = true;
|
||||
nftables.enable = true;
|
||||
cli-tools.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
9
modules/collections/laptop.nix
Normal file
9
modules/collections/laptop.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{pkgs, config, ...}:
|
||||
{
|
||||
kop = {
|
||||
cli-tools.enable = true;
|
||||
tmpfs.enable = true;
|
||||
wireshark.enable = true;
|
||||
virt-manager.enable = true;
|
||||
};
|
||||
}
|
||||
@@ -20,7 +20,6 @@
|
||||
### Other Modules ###
|
||||
#../games/palworld.nix
|
||||
../backup.nix
|
||||
../cli-tools.nix
|
||||
../cron.nix
|
||||
../docker.nix
|
||||
../fail2ban.nix
|
||||
@@ -35,5 +34,8 @@
|
||||
../hardware/ssd.nix
|
||||
];
|
||||
|
||||
kop.tmpfs.enabled = true;
|
||||
kop = {
|
||||
cli-tools.enable = true;
|
||||
tmpfs.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -11,5 +11,6 @@
|
||||
./wireshark.nix
|
||||
./virt-manager.nix
|
||||
./nftables.nix
|
||||
./cli-tools.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{ config, pkgs, lib, ...}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.kop.wooting;
|
||||
cfg = config.kop.hardware.wooting;
|
||||
in
|
||||
{
|
||||
options.kop.wooting = {
|
||||
options.kop.hardware.wooting = {
|
||||
enable = mkEnableOption "Enable wooting hardware support";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user