implement plaintext

This commit is contained in:
RoyDumblauskas committed 2026-09-27 00:49:37 -05:00
1 parent ca7c1d9a34
commit 99e5d39c1a
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -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
+1 -1
View File
@@ -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"
]; ];