upgrade cream

This commit is contained in:
Ingolf Wagner 2023-12-08 21:27:52 +01:00
commit aa11982ecb
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
15 changed files with 51 additions and 50 deletions
nixos/components
gui/home-manager
terminal

View file

@ -1,6 +1,14 @@
{ config, pkgs, lib, ... }: {
{ config, pkgs, lib, ... }:
with lib;
{
options.components.gui.emacs.enable = mkOption {
type = lib.types.bool;
default = config.components.gui.enable;
};
config = mkIf (config.components.gui.emacs.enable) {
config = lib.mkIf config.components.gui.enable {
home-manager.users.mainUser = {
programs.doom-emacs = {
enable = lib.mkDefault true;
@ -14,11 +22,11 @@
; (font-spec :family "Terminus" :size ${toString config.programs.custom.urxvt.fontSize} :weight 'light))
'';
emacsPackagesOverlay = self: super: {
# fixes https://github.com/vlaci/nix-doom-emacs/issues/394
gitignore-mode = pkgs.emacsPackages.git-modes;
gitconfig-mode = pkgs.emacsPackages.git-modes;
};
#emacsPackagesOverlay = self: super: {
# # fixes https://github.com/vlaci/nix-doom-emacs/issues/394
# gitignore-mode = pkgs.emacsPackages.git-modes;
# gitconfig-mode = pkgs.emacsPackages.git-modes;
#};
};
};
environment.systemPackages = [

View file

@ -23,11 +23,12 @@ with lib;
home.shellAliases.cat = "${pkgs.bat}/bin/bat";
# a better ls
programs.exa = {
enable = true;
enableAliases = true;
};
home.shellAliases.llt = "${pkgs.exa}/bin/exa -a --tree";
# todo what's the new shit?
#programs.eza = {
# enable = true;
# enableAliases = true;
#};
home.shellAliases.llt = "${pkgs.eza}/bin/exa -a --tree";
# use z instead of cd
# use zi to fuzzy search through all registered directories