This commit is contained in:
Kopatz
2024-04-16 21:08:13 +02:00
parent 7e8fecc30b
commit a61bf01275
8 changed files with 60 additions and 45 deletions

View File

@@ -88,7 +88,6 @@
### User specific ###
./users/kopatz
./modules
./modules/cli-tools.nix
./modules/ecryptfs.nix
./modules/graphical/audio.nix
./modules/graphical/code.nix
@@ -125,7 +124,6 @@
modules = [
#"${nixpkgs}/nixos/modules/profiles/minimal.nix"
./users/anon
./modules/cli-tools.nix
./modules/nix/settings.nix
./systems/wsl/configuration.nix
({ config, outputs, ... }: { nixpkgs.overlays = with outputs.overlays; [additions modifications unstable-packages]; })

View File

@@ -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
];
};
}

View File

@@ -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;
};
}

View File

@@ -0,0 +1,9 @@
{pkgs, config, ...}:
{
kop = {
cli-tools.enable = true;
tmpfs.enable = true;
wireshark.enable = true;
virt-manager.enable = true;
};
}

View File

@@ -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;
};
}

View File

@@ -11,5 +11,6 @@
./wireshark.nix
./virt-manager.nix
./nftables.nix
./cli-tools.nix
];
}

View File

@@ -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";
};

View File

@@ -14,12 +14,6 @@
#<home-manager/nixos>
];
kop = {
tmpfs.enable = true;
wireshark.enable = true;
virt-manager.enable = true;
}
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;