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