refactor: legacyPackages
This commit is contained in:
@@ -24,6 +24,15 @@ in {
|
||||
urls to check
|
||||
'';
|
||||
};
|
||||
authFile = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
example = ''
|
||||
config.sops.secrets."name-of-service/sentinèlla-probe".path
|
||||
'';
|
||||
description = ''
|
||||
file with lines: user:pass
|
||||
'';
|
||||
};
|
||||
volumes = lib.mkOption {
|
||||
type = lib.types.port;
|
||||
description = ''
|
||||
@@ -44,9 +53,10 @@ in {
|
||||
description = ''
|
||||
in case when you do not want show configurations in repository
|
||||
```
|
||||
VOLUMES=
|
||||
URLS=
|
||||
VOLUMES= # default: none
|
||||
URLS= # default: all from df -P
|
||||
PORT=
|
||||
AUTH_FILE= # lines: user:pass
|
||||
```
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -9,7 +9,10 @@
|
||||
name = builtins.baseNameOf ./.;
|
||||
|
||||
in self.lib.nixpkgs-lib.nixosSystem {
|
||||
inherit (self.legacyPackages."${system}") pkgs;
|
||||
pkgs = import inputs.nixpkgs-25-05 {
|
||||
inherit system;
|
||||
overlays = [ self.overlays.default ];
|
||||
};
|
||||
modules = [
|
||||
{ networking.hostName = name; }
|
||||
(import ./${name}.nix { inherit flake self inputs; })
|
||||
|
||||
@@ -9,7 +9,10 @@
|
||||
name = builtins.baseNameOf ./.;
|
||||
|
||||
in self.lib.nixpkgs-lib.nixosSystem {
|
||||
inherit (self.legacyPackages."${system}") pkgs;
|
||||
pkgs = import inputs.nixpkgs-25-05 {
|
||||
inherit system;
|
||||
overlays = [ self.overlays.default ];
|
||||
};
|
||||
modules = [
|
||||
{ networking.hostName = name; }
|
||||
(import ./${name}.nix { inherit flake self inputs; })
|
||||
|
||||
@@ -9,7 +9,10 @@
|
||||
name = builtins.baseNameOf ./.;
|
||||
|
||||
in self.lib.nixpkgs-lib.nixosSystem {
|
||||
inherit (self.legacyPackages."${system}") pkgs;
|
||||
pkgs = import inputs.nixpkgs-25-05 {
|
||||
inherit system;
|
||||
overlays = [ self.overlays.default ];
|
||||
};
|
||||
modules = [
|
||||
{ networking.hostName = name; }
|
||||
(import ./${name}.nix { inherit flake self inputs; })
|
||||
|
||||
Reference in New Issue
Block a user