mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 21:04:10 +09:00
fix
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.my.features.cli.base;
|
||||
in
|
||||
{
|
||||
options.my.features.cli.base = {
|
||||
enable = lib.mkEnableOption "Base CLI configuration";
|
||||
sshServer = lib.mkEnableOption "OpenSSH server";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
my.applications = {
|
||||
btop.enable = true;
|
||||
git.enable = true;
|
||||
ssh.enable = true;
|
||||
direnv.enable = true;
|
||||
gnupg.enable = true;
|
||||
openssh.enable = cfg.sshServer;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
htop # Interactive Process Viewer
|
||||
curl # Tool For Fetching Files With Links
|
||||
wget # Tool For Fetching Files With Links
|
||||
unzip # Tool For Handling .zip Files
|
||||
unrar # Tool For Handling .rar Files
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user