laptop: update to 22.05

This commit is contained in:
Daniel Lovbrotte Olsen 2022-06-02 02:16:36 +02:00
parent 8120e9088f
commit 3972414281
2 changed files with 3 additions and 3 deletions

View File

@ -22,6 +22,6 @@
programs.home-manager = { programs.home-manager = {
enable = true; enable = true;
path = "https://github.com/rycee/home-manager/archive/release-21.11.tar.gz"; path = "https://github.com/rycee/home-manager/archive/release-22.05.tar.gz";
}; };
} }

View File

@ -192,7 +192,7 @@ in
"module/minecraft" = { "module/minecraft" = {
type = "custom/script"; type = "custom/script";
exec = "" + pkgs.writers.writePython3 "minecraft_status" { libraries = [ pkgs.python3.pkgs.mcstatus ]; flakeIgnore = [ "E722" ]; } '' exec = "" + pkgs.writers.writePython3 "minecraft_status" { libraries = [ pkgs.python3.pkgs.mcstatus ]; flakeIgnore = [ "E722" ]; } ''
from mcstatus import MinecraftServer as JavaServer from mcstatus import JavaServer
pvv = JavaServer.lookup("minecraft.pvv.ntnu.no") pvv = JavaServer.lookup("minecraft.pvv.ntnu.no")
dods = JavaServer.lookup("mc.dodsorf.as") dods = JavaServer.lookup("mc.dodsorf.as")
@ -222,7 +222,7 @@ in
print(result) print(result)
''; '';
click-left = "" + pkgs.writers.writePython3 "minecraft_status" { libraries = with pkgs.python3.pkgs; [ mcstatus notify2 ]; flakeIgnore = [ "E722" ]; } '' click-left = "" + pkgs.writers.writePython3 "minecraft_status" { libraries = with pkgs.python3.pkgs; [ mcstatus notify2 ]; flakeIgnore = [ "E722" ]; } ''
from mcstatus import MinecraftServer as JavaServer from mcstatus import JavaServer
import notify2 import notify2
pvv = JavaServer.lookup("minecraft.pvv.ntnu.no") pvv = JavaServer.lookup("minecraft.pvv.ntnu.no")