kilgharrah: Move to nixpkgs unstable
This commit is contained in:
parent
55c622408b
commit
303335ee3b
1 changed files with 51 additions and 47 deletions
98
flake.nix
98
flake.nix
|
@ -114,55 +114,59 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
flake.colmena = {
|
flake.colmena =
|
||||||
meta = {
|
let
|
||||||
nixpkgs = import nixpkgs-unstable {
|
home-manager = inputs.home-manager.nixosModules.home-manager;
|
||||||
system = "x86_64-linux";
|
home-manager-unstable = inputs.home-manager-unstable.nixosModules.home-manager;
|
||||||
overlays = [
|
in
|
||||||
inputs.lix-module.overlays.default
|
{
|
||||||
|
meta = {
|
||||||
|
nixpkgs = import nixpkgs-unstable {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
overlays = [
|
||||||
|
inputs.lix-module.overlays.default
|
||||||
|
];
|
||||||
|
};
|
||||||
|
nodeNixpkgs = {
|
||||||
|
kilgharrah = import nixpkgs-unstable { system = "x86_64-linux"; };
|
||||||
|
tohru = import nixpkgs { system = "x86_64-linux"; };
|
||||||
|
elucredassa = import nixpkgs-small { system = "x86_64-linux"; };
|
||||||
|
yevaud = import nixpkgs-small { system = "x86_64-linux"; };
|
||||||
|
orm = import nixpkgs-small { system = "x86_64-linux"; };
|
||||||
|
kalessin = import nixpkgs-small { system = "aarch64-linux"; };
|
||||||
|
tehanu = import nixpkgs-small { system = "aarch64-linux"; };
|
||||||
|
};
|
||||||
|
specialArgs = {
|
||||||
|
inherit self;
|
||||||
|
inherit inputs;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
defaults = { config, lib, pkgs, ... }: {
|
||||||
|
deployment.targetHost = lib.mkDefault config.networking.fqdn;
|
||||||
|
deployment.buildOnTarget = lib.mkDefault true;
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
inputs.lix-module.nixosModules.default
|
||||||
|
inputs.agenix.nixosModules.default
|
||||||
|
inputs.birdsong.nixosModules.default
|
||||||
|
./common
|
||||||
|
./services
|
||||||
|
(builtins.toPath "${inputs.randomcat}/services/default.nix")
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
nodeNixpkgs = {
|
|
||||||
kilgharrah = import nixpkgs { system = "x86_64-linux"; };
|
kilgharrah.deployment.targetHost = null; # disable remote deployment
|
||||||
tohru = import nixpkgs { system = "x86_64-linux"; };
|
tohru.deployment.targetHost = null; # disable remote deployment
|
||||||
elucredassa = import nixpkgs-small { system = "x86_64-linux"; };
|
elucredassa.deployment.targetHost = "10.127.3.2"; # no fqdn yet
|
||||||
yevaud = import nixpkgs-small { system = "x86_64-linux"; };
|
|
||||||
orm = import nixpkgs-small { system = "x86_64-linux"; };
|
kilgharrah.imports = [ ./hosts/kilgharrah home-manager-unstable ];
|
||||||
kalessin = import nixpkgs-small { system = "aarch64-linux"; };
|
tohru.imports = [ ./hosts/tohru home-manager ];
|
||||||
tehanu = import nixpkgs-small { system = "aarch64-linux"; };
|
elucredassa.imports = [ ./hosts/elucredassa home-manager ];
|
||||||
};
|
yevaud.imports = [ ./hosts/yevaud home-manager ];
|
||||||
specialArgs = {
|
orm.imports = [ ./hosts/orm home-manager ];
|
||||||
inherit self;
|
kalessin.imports = [ ./hosts/kalessin home-manager ];
|
||||||
inherit inputs;
|
tehanu.imports = [ ./hosts/tehanu home-manager ];
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
defaults = { config, lib, pkgs, ... }: {
|
|
||||||
deployment.targetHost = lib.mkDefault config.networking.fqdn;
|
|
||||||
deployment.buildOnTarget = lib.mkDefault true;
|
|
||||||
|
|
||||||
imports = [
|
|
||||||
inputs.lix-module.nixosModules.default
|
|
||||||
inputs.home-manager.nixosModules.home-manager
|
|
||||||
inputs.agenix.nixosModules.default
|
|
||||||
inputs.birdsong.nixosModules.default
|
|
||||||
./common
|
|
||||||
./services
|
|
||||||
(builtins.toPath "${inputs.randomcat}/services/default.nix")
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
kilgharrah.deployment.targetHost = null; # disable remote deployment
|
|
||||||
tohru.deployment.targetHost = null; # disable remote deployment
|
|
||||||
elucredassa.deployment.targetHost = "10.127.3.2"; # no fqdn yet
|
|
||||||
|
|
||||||
kilgharrah.imports = [ ./hosts/kilgharrah ];
|
|
||||||
tohru.imports = [ ./hosts/tohru ];
|
|
||||||
elucredassa.imports = [ ./hosts/elucredassa ];
|
|
||||||
yevaud.imports = [ ./hosts/yevaud ];
|
|
||||||
orm.imports = [ ./hosts/orm ];
|
|
||||||
kalessin.imports = [ ./hosts/kalessin ];
|
|
||||||
tehanu.imports = [ ./hosts/tehanu ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue