zoxide
This commit is contained in:
parent
b85918d3b1
commit
bd6c9e6d7e
4 changed files with 19 additions and 13 deletions
|
|
@ -64,7 +64,7 @@
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelPackages = pkgs.linuxPackages_6_12;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
|
|
||||||
|
|
@ -31,8 +31,8 @@
|
||||||
c-sharp = pkgs.mkShell {
|
c-sharp = pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
dotnetCorePackages.sdk_9_0-bin
|
dotnetCorePackages.sdk_9_0-bin
|
||||||
]
|
];
|
||||||
}
|
};
|
||||||
rice = pkgs.mkShell {
|
rice = pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
cmatrix
|
cmatrix
|
||||||
|
|
|
||||||
|
|
@ -62,18 +62,13 @@
|
||||||
|
|
||||||
git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.gitFull;
|
||||||
|
userName = "maxstrb";
|
||||||
userEmail = "max.stribrny@gmail.com";
|
userEmail = "max.stribrny@gmail.com";
|
||||||
userName = "max_ag";
|
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
credential.helper = "${
|
|
||||||
pkgs.git.override {withLibsecret = true;}
|
|
||||||
}/bin/git-credential-libsecret";
|
|
||||||
|
|
||||||
push = {autoSetupRemote = true;};
|
|
||||||
|
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
|
github.user = "maxstrb";
|
||||||
|
credential.helper = "store";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@
|
||||||
"rs" => {
|
"rs" => {
|
||||||
flake rust -c $"nvim ($file)"
|
flake rust -c $"nvim ($file)"
|
||||||
}
|
}
|
||||||
"c" | "c++" => {
|
"c" | "cpp" => {
|
||||||
flake c -c $"nvim ($file)"
|
flake c -c $"nvim ($file)"
|
||||||
}
|
}
|
||||||
_ => {nvim $file}
|
_ => {nvim $file}
|
||||||
|
|
@ -75,8 +75,19 @@
|
||||||
config = "nvim /home/maxag/.nix-config/configuration/configuration.nix";
|
config = "nvim /home/maxag/.nix-config/configuration/configuration.nix";
|
||||||
projects = "cd /mnt/removable/Projekty";
|
projects = "cd /mnt/removable/Projekty";
|
||||||
cat = "bat -p -P";
|
cat = "bat -p -P";
|
||||||
|
nvim = "edit";
|
||||||
nix-shell = "nix-shell --run nu";
|
nix-shell = "nix-shell --run nu";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
zoxide = {
|
||||||
|
enable = true;
|
||||||
|
enableBashIntegration = true;
|
||||||
|
enableNushellIntegration = true;
|
||||||
|
|
||||||
|
options = [
|
||||||
|
"--cmd cd"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue