summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-08-20 23:31:16 -0600
committerAlejandro Soto <alejandro@34project.org>2022-08-20 23:31:16 -0600
commit93c1eda82304d458af1152823e61f259a1e473ec (patch)
treed8ae24ca2266a946e689d59da14a762b27224591 /sys
parent07755deb7c90fa4f6c18114e569aa53a06587f58 (diff)
sys: use unstable systemd in order to get v251 before the 22.11 release
Diffstat (limited to 'sys')
-rw-r--r--sys/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/default.nix b/sys/default.nix
index ad99009..ef60f43 100644
--- a/sys/default.nix
+++ b/sys/default.nix
@@ -1,6 +1,6 @@
{ self, impermanence }:
{ lib, config, pkgs, modulesPath, ... }:
-{
+with lib; {
imports = [
"${modulesPath}/installer/scan/not-detected.nix"
impermanence.nixosModule
@@ -31,6 +31,11 @@
'';
};
+ # shenvs necesita systemd 251
+ systemd = mkIf (config.system.nixos.release == "22.05") {
+ package = pkgs.unstable.systemd;
+ };
+
time.timeZone = "America/Costa_Rica";
i18n.defaultLocale = "es_CR.UTF-8";