feat(home-server): rename felix-rpi4 to home-server
This commit is contained in:
parent
2977d1445d
commit
e3fbe28103
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue