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-shell -p sops --run "sops updatekeys $1"
|
||||||
}
|
}
|
||||||
nix-clean-all() {
|
nix-clean-all() {
|
||||||
nix-channel --update
|
sudo nix-channel --update
|
||||||
nix-env -u --always
|
sudo nix-env -u --always
|
||||||
nix-collect-garbage -d
|
sudo nix-collect-garbage -d
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
|
@ -90,14 +90,14 @@
|
||||||
|
|
||||||
# nixos-rebuild
|
# nixos-rebuild
|
||||||
ns = "nix-shell -p";
|
ns = "nix-shell -p";
|
||||||
nr = "nixos-rebuild";
|
nr = "sudo nixos-rebuild";
|
||||||
nrs = "nixos-rebuild --upgrade switch";
|
nrs = "sudo nixos-rebuild --upgrade switch";
|
||||||
nrt = "nixos-rebuild test";
|
nrt = "sudo nixos-rebuild test";
|
||||||
nrb = "nixos-rebuild build";
|
nrb = "sudo nixos-rebuild build";
|
||||||
|
|
||||||
# Rebuild everything
|
# Rebuild everything
|
||||||
rebuild-home = "home-manager switch -b backup --flake /etc/nixos/git";
|
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";
|
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