laptop: update to 22.05
This commit is contained in:
parent
8120e9088f
commit
3972414281
|
@ -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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue