nix-configs/old-conf/nixos-modules/cli/default.nix
Lucy Hochkamp 83de52d5db Add 'old-conf/' from commit '62a64a79a8'
git-subtree-dir: old-conf
git-subtree-mainline: 4667974392
git-subtree-split: 62a64a79a8
2025-11-21 13:33:06 +01:00

16 lines
378 B
Nix

{ config, lib, pkgs, inputs, ... }:
with lib;
with lib.my;
let
cfg = config.ragon.cli;
in
{
options.ragon.cli.enable = lib.mkEnableOption "Enables ragons CLI stuff";
options.ragon.cli.maximal = mkBoolOpt true;
config = lib.mkIf cfg.enable {
security.sudo.extraConfig = "Defaults lecture = never";
# root shell
users.extraUsers.root.shell = pkgs.zsh;
};
}