pass deploy checks too
This commit is contained in:
parent
4f2bb9479e
commit
d8da4009c3
31
flake.nix
31
flake.nix
|
@ -70,6 +70,7 @@
|
|||
"x86_64-darwin"
|
||||
];
|
||||
unstableOverlay = final: prev: {
|
||||
# We already have these in scope
|
||||
unstable = unstable.legacyPackages.${prev.system};
|
||||
deploy = deploy-rs.packages.${prev.system}.deploy-rs;
|
||||
};
|
||||
|
@ -211,7 +212,7 @@
|
|||
# Available through 'home-manager --flake .#your-username@your-hostname'
|
||||
homeConfigurations = {
|
||||
"anish@work" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
|
||||
pkgs = nixpkgsFor."x86_64-linux"; # Home-manager requires 'pkgs' instance
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./home/core.nix
|
||||
|
@ -221,31 +222,35 @@
|
|||
};
|
||||
|
||||
deploy.nodes = {
|
||||
curve.profiles.system = {
|
||||
user = "anish";
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.curve;
|
||||
};
|
||||
box.profiles.system = {
|
||||
user = "anish";
|
||||
box = {
|
||||
hostname = "mossnet.lan";
|
||||
profiles.system = {
|
||||
user = "anish";
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.box;
|
||||
};
|
||||
helix.profiles.system = {
|
||||
user = "anish";
|
||||
};
|
||||
helix = {
|
||||
hostname = "sealight.xyz";
|
||||
profiles.system = {
|
||||
user = "anish";
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.helix;
|
||||
};
|
||||
lituus.profiles.system = {
|
||||
user = "anish";
|
||||
};
|
||||
lituus = {
|
||||
hostname = "git.sealight.xyz";
|
||||
profiles.system = {
|
||||
user = "anish";
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.lituus;
|
||||
};
|
||||
cube.profiles.system = {
|
||||
user = "anish";
|
||||
};
|
||||
cube = {
|
||||
hostname = "anish.lakhwara.com";
|
||||
profiles.system = {
|
||||
user = "anish";
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.cube;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
|
||||
};
|
||||
|
|
|
@ -44,10 +44,10 @@
|
|||
];
|
||||
};
|
||||
|
||||
services.loki = {
|
||||
# services.loki = {
|
||||
# enable = true;
|
||||
# configFile = /var/loki-config.yaml;
|
||||
};
|
||||
# };
|
||||
|
||||
#systemd.services.promtail = {
|
||||
# description = "Promtail service for Loki";
|
||||
|
|
Loading…
Reference in a new issue