Compare commits

...

2 commits

Author SHA1 Message Date
Artemis Tosini ef62e4b037
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/0eb314b4f0ba337e88123e0b1e57ef58346aafd9' (2024-05-30)
  → 'github:nix-community/home-manager/a7117efb3725e6197dd95424136f79147aa35e5b' (2024-06-04)
• Updated input 'jovian':
    'github:jovian-experiments/jovian-nixos/a8e6557f29fa0cbcc2c54d15f9664c14ae2a3e98' (2024-05-29)
  → 'github:jovian-experiments/jovian-nixos/ab21c7d33b116f2f4def094a0f0c339b61f4335d' (2024-06-04)
• Updated input 'lix':
    '5312e60be6.tar.gz?narHash=sha256-SIr%2B8aqg8QyV6c4NYi322Md%2BAxsayLQez5nwynrrY/8%3D' (2024-06-01)
  → '6e59b4b407.tar.gz?narHash=sha256-649OIpcvwVRZcvu0u1dVM6FydxcUqyju1UksU0AhuYg%3D' (2024-06-04)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/ff80cb4a11bb87f3ce8459be6f16a25ac86eb2ac' (2024-05-27)
  → 'github:nix-community/nix-index-database/972a52bee3991ae1f1899e6452e0d7c01ee566d9' (2024-06-02)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/7b49d3967613d9aacac5b340ef158d493906ba79' (2024-06-01)
  → 'github:nixos/nixos-hardware/82b2e20fbffe6a5f0555701af136ad3e734a5faa' (2024-06-04)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/ad57eef4ef0659193044870c731987a6df5cf56b' (2024-05-29)
  → 'github:nixos/nixpkgs/57610d2f8f0937f39dbd72251e9614b1561942d8' (2024-05-31)
2024-06-04 22:36:36 +00:00
Artemis Tosini 970c33b10d
starlight: start tying openstreetmap stuff again 2024-06-04 22:35:59 +00:00
3 changed files with 32 additions and 19 deletions

View file

@ -314,11 +314,11 @@
]
},
"locked": {
"lastModified": 1717097707,
"narHash": "sha256-HC5vJ3oYsjwsCaSbkIPv80e4ebJpNvFKQTBOGlHvjLs=",
"lastModified": 1717525419,
"narHash": "sha256-5z2422pzWnPXHgq2ms8lcCfttM0dz+hg+x1pCcNkAws=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "0eb314b4f0ba337e88123e0b1e57ef58346aafd9",
"rev": "a7117efb3725e6197dd95424136f79147aa35e5b",
"type": "github"
},
"original": {
@ -335,11 +335,11 @@
]
},
"locked": {
"lastModified": 1717012808,
"narHash": "sha256-Wn0fbjqmpIiuPUWnvxu85a9sPYtSd/2tcPDhAYW54RM=",
"lastModified": 1717520847,
"narHash": "sha256-5dUXMWe+K/PukrgFt8Yp+HHJG6VmTOlw+04+L+V2RfU=",
"owner": "jovian-experiments",
"repo": "jovian-nixos",
"rev": "a8e6557f29fa0cbcc2c54d15f9664c14ae2a3e98",
"rev": "ab21c7d33b116f2f4def094a0f0c339b61f4335d",
"type": "github"
},
"original": {
@ -380,11 +380,11 @@
"lix": {
"flake": false,
"locked": {
"lastModified": 1717235651,
"narHash": "sha256-SIr+8aqg8QyV6c4NYi322Md+AxsayLQez5nwynrrY/8=",
"rev": "5312e60be6aba84fab91e6d82af0b1aeccdfe981",
"lastModified": 1717514042,
"narHash": "sha256-649OIpcvwVRZcvu0u1dVM6FydxcUqyju1UksU0AhuYg=",
"rev": "6e59b4b407c577e838ec39a4912be71f0aca36ca",
"type": "tarball",
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/5312e60be6aba84fab91e6d82af0b1aeccdfe981.tar.gz"
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/6e59b4b407c577e838ec39a4912be71f0aca36ca.tar.gz"
},
"original": {
"type": "tarball",
@ -423,11 +423,11 @@
]
},
"locked": {
"lastModified": 1716772633,
"narHash": "sha256-Idcye44UW+EgjbjCoklf2IDF+XrehV6CVYvxR1omst4=",
"lastModified": 1717297675,
"narHash": "sha256-43UmlS1Ifx17y93/Vc258U7bOlAAIZbu8dsGDHOIIr0=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "ff80cb4a11bb87f3ce8459be6f16a25ac86eb2ac",
"rev": "972a52bee3991ae1f1899e6452e0d7c01ee566d9",
"type": "github"
},
"original": {
@ -438,11 +438,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1717248095,
"narHash": "sha256-e8X2eWjAHJQT82AAN+mCI0B68cIDBJpqJ156+VRrFO0=",
"lastModified": 1717515267,
"narHash": "sha256-3d/rDckP583688YqVPc6SyXTy2gHpma0HzCv3idi1OE=",
"owner": "nixos",
"repo": "nixos-hardware",
"rev": "7b49d3967613d9aacac5b340ef158d493906ba79",
"rev": "82b2e20fbffe6a5f0555701af136ad3e734a5faa",
"type": "github"
},
"original": {
@ -453,11 +453,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1716948383,
"narHash": "sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs=",
"lastModified": 1717196966,
"narHash": "sha256-yZKhxVIKd2lsbOqYd5iDoUIwsRZFqE87smE2Vzf6Ck0=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "ad57eef4ef0659193044870c731987a6df5cf56b",
"rev": "57610d2f8f0937f39dbd72251e9614b1561942d8",
"type": "github"
},
"original": {

View file

@ -11,6 +11,7 @@
./boot-config.nix
./hardware-configuration.nix
./scripts.nix
./osm.nix
../../sets/builder.nix
../../sets/disc.nix
../../sets/fpga.nix

12
system/starlight/osm.nix Normal file
View file

@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
services.postgresql = {
enable = true;
package = pkgs.postgresql_16;
extraPlugins = with config.services.postgresql.package.pkgs; [ postgis ];
ensureDatabases = [ "osm" ];
ensureUsers = [ { name = "artemis"; } ];
};
}