Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243{ config, lib, pkgs, ...}:
let cfg = config.programs.lazygit;
settingsFormat = pkgs.formats.yaml { };in{ options.programs.lazygit = { enable = lib.mkEnableOption "lazygit, a simple terminal UI for git commands";
package = lib.mkPackageOption pkgs "lazygit" { };
settings = lib.mkOption { inherit (settingsFormat) type; default = { }; description = '' Lazygit configuration.
See https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md for documentation. ''; }; };
config = lib.mkIf cfg.enable { environment = { systemPackages = [ cfg.package ]; etc = lib.mkIf (cfg.settings != { }) { "xdg/lazygit/config.yml".source = settingsFormat.generate "lazygit-config.yml" cfg.settings; }; }; };
meta = { maintainers = with lib.maintainers; [ linsui ]; };}