First Commit
This commit is contained in:
3
modules/cli/adb.nix
Normal file
3
modules/cli/adb.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
programs.adb.enable = true;
|
||||
}
|
||||
5
modules/cli/btop.nix
Normal file
5
modules/cli/btop.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
systemd.tmpfiles.rules = [
|
||||
"Z /sys/class/powercap/intel-rapl:0/energy_uj 0444 root root - -"
|
||||
];
|
||||
}
|
||||
19
modules/cli/default.nix
Normal file
19
modules/cli/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ lib, ... }:
|
||||
let
|
||||
b = builtins;
|
||||
|
||||
module_files =
|
||||
b.readDir ./. |>
|
||||
lib.filterAttrs (name: type:
|
||||
( (lib.strings.hasSuffix ".nix" name
|
||||
&& name != "default.nix"
|
||||
&& type == "regular" )
|
||||
|| ( type == "directory"
|
||||
&& b.pathExists ./${name}/default.nix))
|
||||
) |>
|
||||
b.attrNames |>
|
||||
b.map (f: ./${f});
|
||||
in
|
||||
{
|
||||
imports = module_files;
|
||||
}
|
||||
17
modules/cli/fish.nix
Normal file
17
modules/cli/fish.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ pkgs, ...}:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
fish
|
||||
grc
|
||||
fishPlugins.done
|
||||
fishPlugins.tide
|
||||
fishPlugins.sponge
|
||||
fishPlugins.grc
|
||||
fishPlugins.fish-you-should-use
|
||||
fishPlugins.autopair
|
||||
fishPlugins.async-prompt
|
||||
fishPlugins.fzf-fish
|
||||
fishPlugins.git-abbr
|
||||
];
|
||||
}
|
||||
36
modules/cli/packages.nix
Normal file
36
modules/cli/packages.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ pkgs, ...}:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
duf
|
||||
eza
|
||||
ffmpeg
|
||||
htop
|
||||
killall
|
||||
libnotify
|
||||
lm_sensors
|
||||
lshw
|
||||
ncdu
|
||||
pciutils
|
||||
socat
|
||||
unrar
|
||||
unzip
|
||||
usbutils
|
||||
v4l-utils
|
||||
nvtopPackages.full
|
||||
wget
|
||||
ytmdl
|
||||
yt-dlp
|
||||
python3
|
||||
python313Packages.pynvml
|
||||
python313Packages.py3nvml
|
||||
git
|
||||
zip
|
||||
killall
|
||||
zoxide
|
||||
fzf
|
||||
p7zip
|
||||
curl
|
||||
jq
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user