implement plaintext
This commit is contained in:
1 parent
ca7c1d9a34
commit
99e5d39c1a
2 files changed
+5
-1
No files matched your search
@@ -17,6 +17,7 @@
|
|||||||
}@inputs:
|
}@inputs:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
/*
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
};
|
};
|
||||||
@@ -28,14 +29,17 @@
|
|||||||
'';
|
'';
|
||||||
}) (builtins.attrNames (builtins.readDir ./secrets))
|
}) (builtins.attrNames (builtins.readDir ./secrets))
|
||||||
);
|
);
|
||||||
|
*/
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
vm = nixpkgs.lib.nixosSystem {
|
vm = nixpkgs.lib.nixosSystem {
|
||||||
system = system;
|
system = system;
|
||||||
|
/*
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit credentials;
|
inherit credentials;
|
||||||
};
|
};
|
||||||
|
*/
|
||||||
modules = [
|
modules = [
|
||||||
./virtual.nix
|
./virtual.nix
|
||||||
postgresql-db.nixosModules.postgresql-db
|
postgresql-db.nixosModules.postgresql-db
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
dataDir = "/var/lib/postgresql";
|
dataDir = "/var/lib/postgresql";
|
||||||
port = 5432;
|
port = 5432;
|
||||||
credentialsFile = credentials.psql-env;
|
credentialsFile = ./secrets/plain.env;
|
||||||
databases = [
|
databases = [
|
||||||
"test"
|
"test"
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in new issue
Block a user