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";
|
system = "aarch64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
nixpkgs.nixosModules.notDetected
|
nixpkgs.nixosModules.notDetected
|
||||||
nixos-hardware.nixosModules.raspberry-pi-4
|
nixos-hardware.nixosModules.raspberry-pi-4
|
||||||
(lib.createSystem "felix-rpi4" {
|
(lib.createSystem "home-server" {
|
||||||
hardwareConfig = ./hardware/rpi4.nix;
|
hardwareConfig = ./hardware/rpi4.nix;
|
||||||
config = ./rpi4.nix;
|
config = ./rpi4.nix;
|
||||||
})
|
})
|
||||||
|
@ -159,12 +159,12 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
deploy.nodes.felix-rpi4 = {
|
deploy.nodes.home-server = {
|
||||||
hostname = "192.168.1.234";
|
hostname = "192.168.1.234";
|
||||||
profiles.system = {
|
profiles.system = {
|
||||||
user = "felschr";
|
user = "felschr";
|
||||||
path = deploy-rs.lib.aarch64-linux.activate.nixos
|
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 ];
|
environment.systemPackages = with pkgs; [ restic ];
|
||||||
|
|
||||||
services.restic.backups.full = resticLib.resticConfig {
|
services.restic.backups.full = resticLib.resticConfig {
|
||||||
name = "rpi4";
|
name = "home-server";
|
||||||
# TODO migrate old repository
|
|
||||||
# repository = "b2:felschr-rpi4-backup:/full";
|
|
||||||
ripgrep = true;
|
ripgrep = true;
|
||||||
paths = [ "/etc/nixos" "/var/lib" "/home" ];
|
paths = [ "/etc/nixos" "/var/lib" "/home" ];
|
||||||
ignorePatterns = [
|
ignorePatterns = [
|
||||||
|
|
Loading…
Reference in a new issue