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; home-manager.enable = true;
git = { git = {
enable = true; enable = true;
userEmail = "git@lillianviolet.dev"; settings = {
userName = "Lillian-Violet"; user = {
extraConfig = { name = "Lillian-Violet";
email = "git@lillianviolet.dev";
};
init = { init = {
defaultBranch = "main"; defaultBranch = "main";
}; };

View file

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

View file

@ -1,10 +1,10 @@
# Build the nixos configuration and switch to it # Build the nixos configuration and switch to it
build: 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 # Build the nixos configuration bot don't switch to it until a reboot
boot: 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 the nix flake in the nix repl
run: run:

View file

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