hell n back
This commit is contained in:
parent
3ee6761b45
commit
cac7203033
45 changed files with 2988 additions and 177 deletions
34
modules/packages/default.nix
Normal file
34
modules/packages/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
|
||||
with lib;
|
||||
let cfg =
|
||||
config.modules.packages;
|
||||
screen = pkgs.writeShellScriptBin "screen" ''${builtins.readFile ./screen}'';
|
||||
bandw = pkgs.writeShellScriptBin "bandw" ''${builtins.readFile ./bandw}'';
|
||||
maintenance = pkgs.writeShellScriptBin "maintenance" ''${builtins.readFile ./maintenance}'';
|
||||
|
||||
in {
|
||||
options.modules.packages = { enable = mkEnableOption "packages"; };
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
# C
|
||||
gcc
|
||||
gdb
|
||||
gnumake
|
||||
clang
|
||||
clang-tools
|
||||
# nix
|
||||
nil
|
||||
alejandra
|
||||
# cli tools
|
||||
bat
|
||||
eza
|
||||
fzf
|
||||
ripgrep
|
||||
unzip
|
||||
tealdeer
|
||||
ffmpeg
|
||||
btop
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue