update git setup and add fallback to rebuild and update nextcloud to 32

This commit is contained in:
Lillian Violet 2025-10-21 15:29:04 +02:00
parent 40a3e51a89
commit 41851ee975
4 changed files with 24 additions and 8 deletions

View file

@ -239,9 +239,11 @@
home-manager.enable = true;
git = {
enable = true;
userEmail = "git@lillianviolet.dev";
userName = "Lillian-Violet";
extraConfig = {
settings = {
user = {
name = "Lillian-Violet";
email = "git@lillianviolet.dev";
};
init = {
defaultBranch = "main";
};

View file

@ -100,8 +100,22 @@
home-manager.enable = true;
git = {
enable = true;
userEmail = "git@lillianviolet.dev";
userName = "Lillian-Violet";
settings = {
user = {
name = "Lillian-Violet";
email = "git@lillianviolet.dev";
};
init = {
defaultBranch = "main";
};
};
ignores = [
"*.direnv"
"*.vscode"
".envrc"
"venv"
"venv"
];
signing.format = "ssh";
};
};

View file

@ -1,10 +1,10 @@
# Build the nixos configuration and switch to it
build:
sudo echo "sudo check..." && sudo nixos-rebuild --log-format internal-json -v switch --flake .# --show-trace |& nom --json
sudo echo "sudo check..." && sudo nixos-rebuild --fallback --log-format internal-json -v switch --flake .# --show-trace |& nom --json
# Build the nixos configuration bot don't switch to it until a reboot
boot:
sudo echo "sudo check..." && sudo nixos-rebuild --log-format internal-json -v boot --flake .# --show-trace |& nom --json
sudo echo "sudo check..." && sudo nixos-rebuild --fallback --log-format internal-json -v boot --flake .# --show-trace |& nom --json
# Run the nix flake in the nix repl
run:

View file

@ -50,7 +50,7 @@
enable = true;
hostName = "nextcloud.gladtherescake.eu";
package = pkgs.nextcloud31;
package = pkgs.nextcloud32;
# Use HTTPS for links
https = true;