Exclude laptops from deploy-rs
This commit is contained in:
parent
09f05fccfd
commit
20c6461e14
1 changed files with 35 additions and 34 deletions
|
@ -1,7 +1,6 @@
|
||||||
inputs:
|
inputs:
|
||||||
with inputs;
|
with inputs;
|
||||||
with inputs.nixpkgs.lib; let
|
with inputs.nixpkgs.lib; {
|
||||||
in {
|
|
||||||
mergeHosts = lists.foldl' (
|
mergeHosts = lists.foldl' (
|
||||||
a: b: attrsets.recursiveUpdate a b
|
a: b: attrsets.recursiveUpdate a b
|
||||||
) {};
|
) {};
|
||||||
|
@ -45,7 +44,8 @@ in {
|
||||||
feishin = (import nixpkgs-pr-feishin {inherit system;}).feishin;
|
feishin = (import nixpkgs-pr-feishin {inherit system;}).feishin;
|
||||||
webone = pkgs.callPackage ./packages/webone {};
|
webone = pkgs.callPackage ./packages/webone {};
|
||||||
};
|
};
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
nixosConfigurations.${hostname} = nixosSystem rec {
|
nixosConfigurations.${hostname} = nixosSystem rec {
|
||||||
inherit system pkgs;
|
inherit system pkgs;
|
||||||
|
|
||||||
|
@ -71,7 +71,8 @@ in {
|
||||||
++ (filesystem.listFilesRecursive ./modules)
|
++ (filesystem.listFilesRecursive ./modules)
|
||||||
++ extraModules;
|
++ extraModules;
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
// optionalAttrs (suite != "laptop") {
|
||||||
deploy.nodes.${hostname} = {
|
deploy.nodes.${hostname} = {
|
||||||
hostname = "${hostname}.local";
|
hostname = "${hostname}.local";
|
||||||
profiles.system = {
|
profiles.system = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue