flake: set nixpkgs to nixos-23.05

This change makes the nixos module more compatible with pub-solar/os
main
teutat3s 2023-07-18 02:30:30 +02:00
parent 9c8a36de8b
commit 5519e0d6fe
Signed by: teutat3s
GPG Key ID: 4FA1D3FA524F22C1
4 changed files with 7 additions and 6 deletions

View File

@ -90,16 +90,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1689534811,
"narHash": "sha256-jnSUdzD/414d94plCyNlvTJJtiTogTep6t7ZgIKIHiE=",
"lastModified": 1689503327,
"narHash": "sha256-qVwzYLA8oT2oWNDXO0A3bZHOhoPOihIB9T677+Hor1E=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222",
"rev": "f64b9738da8e86195766147e9752c67fccee006c",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"ref": "nixos-23.05",
"repo": "nixpkgs",
"type": "github"
}

View File

@ -2,7 +2,7 @@
description = "Dev Setup";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
systems.url = "github:nix-systems/default";

View File

@ -204,7 +204,7 @@ in
redis_socketio = "redis://${cfg.redis.host}:${toString cfg.redis.port}?db=0";
socketio_port = "${toString cfg.socketIoPort}";
};
commonSiteConfigFile = pkgs.writeText "erpnext-common_site_config.json" (builtins.toJSON commonSiteConfig);
commonSiteConfigFile = pkgs.writeText "erpnext-common_site_config.json" (builtins.toJSON commonSiteConfig);
defaultServiceConfig = {
User = cfg.user;

View File

@ -126,6 +126,7 @@ buildPythonPackage rec {
"pypng"
"pytz"
"redis"
"requests"
"rq"
"tenacity"
"WeasyPrint"