puzzlevision/modules/nixos/common/shell/default.nix
Jo 6443c085d4 fix: add missing pkgs binding
feat: update wallpaper for catppuccin theme
2024-12-03 18:42:37 +01:00

20 lines
399 B
Nix

{
lib,
namespace,
config,
pkgs,
...
}: with lib; with lib.${namespace};
let
cfg = config.${namespace}.common.shell;
in {
options.${namespace}.common.shell = {
enable = mkEnableOption "Modify the standard shell options";
};
config = mkIf cfg.enable {
environment.shells = with pkgs; [ fish ];
users.defaultUserShell = pkgs.fish;
programs.fish.enable = true;
};
}