129 current 1970-01-01 01:00:00 24.05.20240303.b8697e5 6.6.19 *
This commit is contained in:
parent
b282c859d3
commit
63422ffe6d
@ -84,12 +84,9 @@
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovim
|
||||
wget
|
||||
fprintd
|
||||
home-manager
|
||||
git
|
||||
alejandra
|
||||
];
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
|
@ -63,7 +63,7 @@
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
EDITOR = "${pkgs.neovim}/bin/nvim";
|
||||
};
|
||||
|
||||
xdg.enable = true;
|
||||
|
@ -10,26 +10,25 @@
|
||||
historySubstringSearch.enable = true;
|
||||
shellAliases = {
|
||||
ls = "${pkgs.eza}/bin/eza --icons -a --group-directories-first";
|
||||
diff = "diff --color=auto";
|
||||
grep = "grep --color=auto";
|
||||
ip = "ip --color=auto";
|
||||
mkdir = "mkdir -p";
|
||||
gst = "git status";
|
||||
gc = "git commit";
|
||||
ga = "git add";
|
||||
gpl = "git pull";
|
||||
gpu = "git push";
|
||||
gd = "git diff";
|
||||
gch = "git checkout";
|
||||
gs = "git switch";
|
||||
gre = "git restore";
|
||||
gr = "git remote";
|
||||
gcl = "git clone";
|
||||
glg = "git log --graph --abbrev-commit --decorate --format=format:'%C(bold green)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold yellow)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all";
|
||||
gb = "git branch";
|
||||
gm = "git merge";
|
||||
gf = "git fetch";
|
||||
rebuild = "~/dotfiles/nixos/rebuild.sh";
|
||||
diff = "${pkgs.diffutils}/bin/diff --color=auto";
|
||||
grep = "${pkgs.gnugrep}/bin/grep --color=auto";
|
||||
ip = "${pkgs.iproute2}/bin/ip --color=auto";
|
||||
mkdir = "${pkgs.coreutils}/bin/mkdir -p";
|
||||
gst = "${pkgs.git}/bin/git status";
|
||||
gc = "${pkgs.git}/bin/git commit";
|
||||
ga = "${pkgs.git}/bin/git add";
|
||||
gpl = "${pkgs.git}/bin/git pull";
|
||||
gpu = "${pkgs.git}/bin/git push";
|
||||
gd = "${pkgs.git}/bin/git diff";
|
||||
gch = "${pkgs.git}/bin/git checkout";
|
||||
gs = "${pkgs.git}/bin/git switch";
|
||||
gre = "${pkgs.git}/bin/git restore";
|
||||
gr = "${pkgs.git}/bin/git remote";
|
||||
gcl = "${pkgs.git}/bin/git clone";
|
||||
glg = "${pkgs.git}/bin/git log --graph --abbrev-commit --decorate --format=format:'%C(bold green)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold yellow)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all";
|
||||
gb = "${pkgs.git}/bin/git branch";
|
||||
gm = "${pkgs.git}/bin/git merge";
|
||||
gf = "${pkgs.git}/bin/git fetch";
|
||||
};
|
||||
syntaxHighlighting.enable = true;
|
||||
syntaxHighlighting.highlighters = ["main" "brackets"];
|
||||
|
@ -5,13 +5,13 @@
|
||||
destination = "/bin/rebuild";
|
||||
executable = true;
|
||||
text = ''
|
||||
#!/usr/bin/env bash
|
||||
#!${pkgs.bash}/bin/bash
|
||||
|
||||
# A rebuild script that commits on a successful build
|
||||
set -e
|
||||
|
||||
# cd to your config dir
|
||||
pushd ${../..}
|
||||
pushd ~/dotfiles/nixos/
|
||||
|
||||
# Edit your config
|
||||
$EDITOR
|
||||
|
Loading…
Reference in New Issue
Block a user