laptop: update to 22.05
This commit is contained in:
parent
8120e9088f
commit
3972414281
|
@ -22,6 +22,6 @@
|
|||
|
||||
programs.home-manager = {
|
||||
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";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -192,7 +192,7 @@ in
|
|||
"module/minecraft" = {
|
||||
type = "custom/script";
|
||||
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")
|
||||
dods = JavaServer.lookup("mc.dodsorf.as")
|
||||
|
||||
|
@ -222,7 +222,7 @@ in
|
|||
print(result)
|
||||
'';
|
||||
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
|
||||
|
||||
pvv = JavaServer.lookup("minecraft.pvv.ntnu.no")
|
||||
|
|
Loading…
Reference in New Issue