mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 19:24:03 -06:00
Add ssh commands to bashrc
This commit is contained in:
parent
d9bcd78862
commit
dea54a209d
1 changed files with 4 additions and 1 deletions
5
home.nix
5
home.nix
|
@ -14,7 +14,7 @@
|
||||||
# You can update Home Manager without changing this value. See
|
# You can update Home Manager without changing this value. See
|
||||||
# the Home Manager release notes for a list of state version
|
# the Home Manager release notes for a list of state version
|
||||||
# changes in each release.
|
# changes in each release.
|
||||||
home.stateVersion = "23.11";
|
home.stateVersion = "24.05";
|
||||||
|
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
|
@ -41,6 +41,9 @@
|
||||||
nix-generations = "sudo nix-env -p /nix/var/nix/profiles/system --list-generations";
|
nix-generations = "sudo nix-env -p /nix/var/nix/profiles/system --list-generations";
|
||||||
nix-upgrade = "sudo nixos-rebuild switch --upgrade";
|
nix-upgrade = "sudo nixos-rebuild switch --upgrade";
|
||||||
};
|
};
|
||||||
|
bashrcExtra = "eval `ssh-agent`\n
|
||||||
|
ssh-add ~/.ssh/protonmail\n
|
||||||
|
ssh-add ~/.ssh/system76";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue