Test
This commit is contained in:
parent
2b6fa032d1
commit
4f308a15f7
2 changed files with 8 additions and 20 deletions
|
@ -47,9 +47,9 @@
|
|||
nix-shell -p sops --run "sops updatekeys $1"
|
||||
}
|
||||
nix-clean-all() {
|
||||
nix-channel --update
|
||||
nix-env -u --always
|
||||
nix-collect-garbage -d
|
||||
sudo nix-channel --update
|
||||
sudo nix-env -u --always
|
||||
sudo nix-collect-garbage -d
|
||||
}
|
||||
'';
|
||||
shellAliases = {
|
||||
|
@ -90,14 +90,14 @@
|
|||
|
||||
# nixos-rebuild
|
||||
ns = "nix-shell -p";
|
||||
nr = "nixos-rebuild";
|
||||
nrs = "nixos-rebuild --upgrade switch";
|
||||
nrt = "nixos-rebuild test";
|
||||
nrb = "nixos-rebuild build";
|
||||
nr = "sudo nixos-rebuild";
|
||||
nrs = "sudo nixos-rebuild --upgrade switch";
|
||||
nrt = "sudo nixos-rebuild test";
|
||||
nrb = "sudo nixos-rebuild build";
|
||||
|
||||
# Rebuild everything
|
||||
rebuild-home = "home-manager switch -b backup --flake /etc/nixos/git";
|
||||
rebuild-host = "nixos-rebuild switch --flake /etc/nixos/git";
|
||||
rebuild-host = "sudo nixos-rebuild switch --flake /etc/nixos/git";
|
||||
rebuild-all = "rebuild-home && rebuild-host";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
{ config, pkgs, ... }: {
|
||||
programs.git = {
|
||||
userName = "albert";
|
||||
userEmail = "albert@sysctl.io";
|
||||
extraConfig = {
|
||||
core.askPass = "false";
|
||||
credential.helper = "cache --timeout=25920000";
|
||||
user.signingkey = "64F6C4EB46C4543A";
|
||||
commit.gpgsign = "true";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue