mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 23:40:15 +00:00
initial refactoring
This commit is contained in:
29
platforms/home-manager/modules/nmasur/profiles/common.nix
Normal file
29
platforms/home-manager/modules/nmasur/profiles/common.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.nmasur.profiles.common;
|
||||
in
|
||||
{
|
||||
options.nmasur.profiles.common.enable = lib.mkEnableOption "Common home-manager config";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
dig # DNS lookup
|
||||
fd # find
|
||||
htop # Show system processes
|
||||
killall # Force quit
|
||||
inetutils # Includes telnet, whois
|
||||
jq # JSON manipulation
|
||||
rsync # Copy folders
|
||||
ripgrep # grep
|
||||
sd # sed
|
||||
unzip # Extract zips
|
||||
];
|
||||
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user