diff --git a/flake.lock b/flake.lock index df4eb77..a5a1457 100644 --- a/flake.lock +++ b/flake.lock @@ -44,11 +44,11 @@ "dotfiles": { "flake": false, "locked": { - "lastModified": 1652235633, - "narHash": "sha256-b9mIXMOFJdQQrxgvDMGw5W7rAAyPlNUovfYpfn1yVWo=", + "lastModified": 1654697615, + "narHash": "sha256-4yhi6AA1Hf2V7NC9YNlFJ76UN24Z9B8/ij7At7fvx7o=", "owner": "walkah", "repo": "dotfiles", - "rev": "213260ff94a799966cab986103a4c92557e53d70", + "rev": "a9e9c0a2e81f86d4ccb8b349fee375a7dd628955", "type": "github" }, "original": { @@ -89,6 +89,22 @@ "type": "github" } }, + "flake-compat_3": { + "flake": false, + "locked": { + "lastModified": 1650374568, + "narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "b4a34015c698c7793d592d66adbab377907a2be8", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1653893745, @@ -106,14 +122,18 @@ }, "home-manager": { "inputs": { - "nixpkgs": "nixpkgs_2" + "flake-compat": "flake-compat_3", + "nixpkgs": "nixpkgs_2", + "nmd": "nmd", + "nmt": "nmt", + "utils": "utils_2" }, "locked": { - "lastModified": 1654422613, - "narHash": "sha256-ZxkMM13AnrMwYOV99ohzcqeTkAOqD9Q2SBdZ9WoFE9Y=", + "lastModified": 1654628474, + "narHash": "sha256-Llm9X8Af15uC9IMStxqjCfO15WgYTqTnsQq8wMcpp5Q=", "owner": "nix-community", "repo": "home-manager", - "rev": "20703892473d01c70fb10248442231fe94f4ceb4", + "rev": "70824bb5c790b820b189f62f643f795b1d2ade2e", "type": "github" }, "original": { @@ -172,25 +192,27 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1654398695, - "narHash": "sha256-Kw/KeoFXszNsF5mORP45mrxCP+k9Aq03hWcuWCL9sdI=", - "owner": "NixOS", + "lastModified": 1654230545, + "narHash": "sha256-8Vlwf0x8ow6pPOK2a04bT+pxIeRnM1+O0Xv9/CuDzRs=", + "owner": "nixos", "repo": "nixpkgs", - "rev": "c5d810f4c74c824ae0fb788103003c6c9d366a08", + "rev": "236cc2971ac72acd90f0ae3a797f9f83098b17ec", "type": "github" }, "original": { - "id": "nixpkgs", - "type": "indirect" + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" } }, "nixpkgs_3": { "locked": { - "lastModified": 1654230545, - "narHash": "sha256-8Vlwf0x8ow6pPOK2a04bT+pxIeRnM1+O0Xv9/CuDzRs=", + "lastModified": 1654682581, + "narHash": "sha256-Jb1PQCwKgwdNAp907eR5zPzuxV+kRroA3UIxUxCMJ9s=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "236cc2971ac72acd90f0ae3a797f9f83098b17ec", + "rev": "e0169d7a9d324afebf5679551407756c77af8930", "type": "github" }, "original": { @@ -200,6 +222,38 @@ "type": "github" } }, + "nmd": { + "flake": false, + "locked": { + "lastModified": 1653339422, + "narHash": "sha256-8nc7lcYOgih3YEmRMlBwZaLLJYpLPYKBlewqHqx8ieg=", + "owner": "rycee", + "repo": "nmd", + "rev": "9e7a20e6ee3f6751f699f79c0b299390f81f7bcd", + "type": "gitlab" + }, + "original": { + "owner": "rycee", + "repo": "nmd", + "type": "gitlab" + } + }, + "nmt": { + "flake": false, + "locked": { + "lastModified": 1648075362, + "narHash": "sha256-u36WgzoA84dMVsGXzml4wZ5ckGgfnvS0ryzo/3zn/Pc=", + "owner": "rycee", + "repo": "nmt", + "rev": "d83601002c99b78c89ea80e5e6ba21addcfe12ae", + "type": "gitlab" + }, + "original": { + "owner": "rycee", + "repo": "nmt", + "type": "gitlab" + } + }, "root": { "inputs": { "darwin": "darwin", @@ -248,6 +302,21 @@ "repo": "flake-utils", "type": "github" } + }, + "utils_2": { + "locked": { + "lastModified": 1653893745, + "narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } } }, "root": "root", diff --git a/modules/home-assistant/default.nix b/modules/home-assistant/default.nix index 8f0cdd3..bc15e7d 100644 --- a/modules/home-assistant/default.nix +++ b/modules/home-assistant/default.nix @@ -5,7 +5,7 @@ virtualisation.oci-containers = { containers = { home-assistant = { - image = "ghcr.io/home-assistant/home-assistant:2022.5.5"; + image = "ghcr.io/home-assistant/home-assistant:2022.6.4"; volumes = [ "/var/lib/hass:/config" "/etc/localtime:/etc/localtime:ro" ]; extraOptions = [ "--privileged" "--network=host" ]; diff --git a/modules/postgresql/default.nix b/modules/postgresql/default.nix index dcbda28..f0b6e1c 100644 --- a/modules/postgresql/default.nix +++ b/modules/postgresql/default.nix @@ -2,6 +2,7 @@ services = { postgresql = { enable = true; + package = pkgs.postgresql_12; }; postgresqlBackup = { @@ -17,7 +18,7 @@ systemctl stop postgresql # XXX replace `` with the psqlSchema here - export NEWDATA="/var/lib/postgresql/11.1" + export NEWDATA="/var/lib/postgresql/12" # XXX specify the postgresql package you'd like to upgrade to export NEWBIN="${pkgs.postgresql_12}/bin"