flake: set nixpkgs to nixos-23.05
This change makes the nixos module more compatible with pub-solar/os
This commit is contained in:
parent
9c8a36de8b
commit
5519e0d6fe
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -126,6 +126,7 @@ buildPythonPackage rec {
|
|||
"pypng"
|
||||
"pytz"
|
||||
"redis"
|
||||
"requests"
|
||||
"rq"
|
||||
"tenacity"
|
||||
"WeasyPrint"
|
||||
|
|
Loading…
Reference in a new issue