Skip to content

Commit

Permalink
fix(nixos): apply fixes for 24.05 transition
Browse files Browse the repository at this point in the history
  • Loading branch information
truelecter committed May 26, 2024
1 parent b9de8d1 commit 56d8c3e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
26 changes: 13 additions & 13 deletions cells/nixos/hosts/depsos/postgres.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,28 @@
ensureUsers = [
{
name = "pandora";
ensurePermissions = {
"DATABASE cqdata" = "ALL PRIVILEGES";
};
# ensurePermissions = {
# "DATABASE cqdata" = "ALL PRIVILEGES";
# };
}
{
name = "authentik";
ensurePermissions = {
"DATABASE authentik" = "ALL PRIVILEGES";
};
# ensurePermissions = {
# "DATABASE authentik" = "ALL PRIVILEGES";
# };
}
{
name = "truelecter";
ensurePermissions = {
"ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
"DATABASE cqdata" = "ALL PRIVILEGES";
};
# ensurePermissions = {
# "ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
# "DATABASE cqdata" = "ALL PRIVILEGES";
# };
}
{
name = "superuser";
ensurePermissions = {
"ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
};
# ensurePermissions = {
# "ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
# };
}
];
authentication = pkgs.lib.mkOverride 10 ''
Expand Down
8 changes: 6 additions & 2 deletions cells/nixos/profiles/fs/zfs.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
inputs,
common,
}: {lib, ...}: {
}: {
lib,
pkgs,
...
}: {
boot = {
kernelParams = ["nohibernate"];
zfs = {
enableUnstable = false;
forceImportRoot = false;
package = pkgs.zfs_unstable;
};
supportedFilesystems = ["zfs"];
};
Expand Down

0 comments on commit 56d8c3e

Please sign in to comment.