mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-24 13:52:25 +00:00
Compare commits
3 Commits
2a56c04e17
...
0f4914db95
Author | SHA1 | Date | |
---|---|---|---|
|
0f4914db95 | ||
|
25e56b7421 | ||
|
a6ec04db7e |
@ -123,6 +123,7 @@
|
|||||||
(import ./overlays/neovim-plugins.nix inputs)
|
(import ./overlays/neovim-plugins.nix inputs)
|
||||||
(import ./overlays/lib.nix)
|
(import ./overlays/lib.nix)
|
||||||
(import ./overlays/calibre-web.nix)
|
(import ./overlays/calibre-web.nix)
|
||||||
|
(import ./overlays/gh-cli.nix)
|
||||||
];
|
];
|
||||||
|
|
||||||
# System types to support.
|
# System types to support.
|
||||||
|
@ -31,7 +31,7 @@ darwin.lib.darwinSystem {
|
|||||||
neovim.enable = true;
|
neovim.enable = true;
|
||||||
mail.enable = true;
|
mail.enable = true;
|
||||||
mail.aerc.enable = true;
|
mail.aerc.enable = true;
|
||||||
mail.himalaya.enable = true;
|
mail.himalaya.enable = false;
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
discord.enable = true;
|
discord.enable = true;
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
./firefox.nix
|
./firefox.nix
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
./media.nix
|
./media.nix
|
||||||
./nautilus.nix
|
|
||||||
./obsidian.nix
|
./obsidian.nix
|
||||||
./qbittorrent.nix
|
./qbittorrent.nix
|
||||||
./slack.nix
|
./slack.nix
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
set -l branch (git branch 2>/dev/null | grep '^\*' | colrm 1 2)
|
|
||||||
and set -l command "git push --set-upstream origin $branch"
|
|
||||||
and commandline -r $command
|
|
||||||
and commandline -f execute
|
|
@ -51,7 +51,6 @@ in {
|
|||||||
gcae = "git commit --amend";
|
gcae = "git commit --amend";
|
||||||
gu = "git pull";
|
gu = "git pull";
|
||||||
gp = "git push";
|
gp = "git push";
|
||||||
gpp = "git-push-upstream";
|
|
||||||
gl = "git log --graph --decorate --oneline -20";
|
gl = "git log --graph --decorate --oneline -20";
|
||||||
gll = "git log --graph --decorate --oneline";
|
gll = "git log --graph --decorate --oneline";
|
||||||
gco = "git checkout";
|
gco = "git checkout";
|
||||||
@ -114,10 +113,6 @@ in {
|
|||||||
git-history = {
|
git-history = {
|
||||||
body = builtins.readFile ./fish/functions/git-history.fish;
|
body = builtins.readFile ./fish/functions/git-history.fish;
|
||||||
};
|
};
|
||||||
git-push-upstream = {
|
|
||||||
description = "Create upstream branch";
|
|
||||||
body = builtins.readFile ./fish/functions/git-push-upstream.fish;
|
|
||||||
};
|
|
||||||
uncommitted = {
|
uncommitted = {
|
||||||
description = "Find uncommitted git repos";
|
description = "Find uncommitted git repos";
|
||||||
body = builtins.readFile ./fish/functions/uncommitted.fish;
|
body = builtins.readFile ./fish/functions/uncommitted.fish;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ ... }: {
|
{ ... }: {
|
||||||
|
|
||||||
imports = [ ./calibre.nix ];
|
imports = [ ./calibre.nix ./nautilus.nix ];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
12
overlays/gh-cli.nix
Normal file
12
overlays/gh-cli.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Testing: https://github.com/cli/cli/issues/5011#issuecomment-1576931518
|
||||||
|
|
||||||
|
_final: prev: {
|
||||||
|
gh = prev.gh.overrideAttrs (old: {
|
||||||
|
src = prev.fetchFromGitHub {
|
||||||
|
owner = "cli";
|
||||||
|
repo = "cli";
|
||||||
|
rev = "420f63c3ec660d27182b713bd18459e7376f0a7a";
|
||||||
|
sha256 = "sha256-ik4YCQBTr9637dofrh/AcgoOBa8Bx9F+brUMpC8u5U8=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user