Skip to content

Commit

Permalink
style: linter findings
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobLichterfeld committed Oct 7, 2024
1 parent 2613a3d commit ff41eef
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 19 deletions.
26 changes: 12 additions & 14 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@
};

outputs =
inputs@{
self,
flake-parts,
devenv,
devenv-root,
...
inputs@{ self
, flake-parts
, devenv
, devenv-root
, ...
}:
flake-parts.lib.mkFlake { inherit inputs; } {

Expand All @@ -35,13 +34,12 @@
];

perSystem =
{
config,
self',
inputs',
pkgs,
system,
...
{ config
, self'
, inputs'
, pkgs
, system
, ...
}:
# legacy
let
Expand Down Expand Up @@ -206,7 +204,7 @@
package = pkgs.postgresql_16;
listen_addresses = "127.0.0.1";
port = postgres_port;
initialDatabases = [ { name = "teslamate"; } ];
initialDatabases = [{ name = "teslamate"; }];
initialScript = ''
CREATE USER teslamate with encrypted password 'your_secure_password_here';
GRANT ALL PRIVILEGES ON DATABASE teslamate TO teslamate;
Expand Down
9 changes: 4 additions & 5 deletions module.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{ self }:
{
config,
lib,
pkgs,
...
{ config
, lib
, pkgs
, ...
}:
let
teslamate = self.packages.${pkgs.system}.default;
Expand Down

0 comments on commit ff41eef

Please sign in to comment.