feat(home-server): rename felix-rpi4 to home-server

This commit is contained in:
Felix Schröter 2022-05-15 15:39:12 +02:00
parent 2977d1445d
commit e3fbe28103
Signed by: felschr
GPG key ID: 671E39E6744C807D
2 changed files with 5 additions and 7 deletions

View file

@ -137,12 +137,12 @@
];
};
nixosConfigurations.felix-rpi4 = nixpkgs.lib.nixosSystem {
nixosConfigurations.home-server = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules = [
nixpkgs.nixosModules.notDetected
nixos-hardware.nixosModules.raspberry-pi-4
(lib.createSystem "felix-rpi4" {
(lib.createSystem "home-server" {
hardwareConfig = ./hardware/rpi4.nix;
config = ./rpi4.nix;
})
@ -159,12 +159,12 @@
];
};
deploy.nodes.felix-rpi4 = {
deploy.nodes.home-server = {
hostname = "192.168.1.234";
profiles.system = {
user = "felschr";
path = deploy-rs.lib.aarch64-linux.activate.nixos
self.nixosConfigurations.felix-rpi4;
self.nixosConfigurations.home-server;
};
};

View file

@ -13,9 +13,7 @@ in {
environment.systemPackages = with pkgs; [ restic ];
services.restic.backups.full = resticLib.resticConfig {
name = "rpi4";
# TODO migrate old repository
# repository = "b2:felschr-rpi4-backup:/full";
name = "home-server";
ripgrep = true;
paths = [ "/etc/nixos" "/var/lib" "/home" ];
ignorePatterns = [