feat(cli): remove cli module and move zsh config to systems

This commit is contained in:
Mohammad Rafiq 2025-06-14 18:03:11 +08:00
parent 527a166a86
commit 2387ad9099
No known key found for this signature in database
3 changed files with 11 additions and 24 deletions

View file

@ -1,24 +0,0 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
options.cli = { };
config = lib.mkMerge [
{
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
environment.pathsToLink = [ "/share/zsh" ]; # enables completion
}
{
environment.systemPackages = with pkgs; [
p7zip
];
}
];
}

View file

@ -1,3 +1,7 @@
{ pkgs, ... }:
let
inherit (pkgs) zsh;
in
{
system.mainUser = {
name = "rafiq";
@ -5,5 +9,12 @@
email = "rafiq@rrv.sh";
};
server.mountHelios = true;
users.defaultUserShell = zsh;
programs = {
zsh.enable = true;
zsh.enableCompletion = true;
};
nixpkgs.hostPlatform = "x86_64-linux";
}