fix: Added the ironbar fix
This commit is contained in:
11
flake.lock
generated
11
flake.lock
generated
@@ -1724,15 +1724,16 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753113164,
|
"lastModified": 1754481180,
|
||||||
"narHash": "sha256-sNTL9jCM7bJQy992d7TfHe8ZCIik9e0psZNurUyAf7E=",
|
"narHash": "sha256-C/G8srY5c0sffbsLbr79VC9UaTaucLSz8QUo0TzlC6o=",
|
||||||
"owner": "JakeStanger",
|
"owner": "da-x",
|
||||||
"repo": "ironbar",
|
"repo": "ironbar",
|
||||||
"rev": "106e23e3116db02d57c548820024163c38491370",
|
"rev": "111d5d546f310bfd46c410254b3fa031aa8f5115",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "JakeStanger",
|
"owner": "da-x",
|
||||||
|
"ref": "correct-gdk-monitor",
|
||||||
"repo": "ironbar",
|
"repo": "ironbar",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
ironbar = {
|
ironbar = {
|
||||||
url = "github:JakeStanger/ironbar";
|
url = "github:da-x/ironbar/correct-gdk-monitor";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
lanzaboote = {
|
lanzaboote = {
|
||||||
@@ -182,6 +182,10 @@
|
|||||||
# url = "path:/home/servius/Projects/command-runner";
|
# url = "path:/home/servius/Projects/command-runner";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
# hyprmonitors = {
|
||||||
|
# url = "https://git.darksailor.dev/servius/hyprmonitors";
|
||||||
|
# inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
# };
|
||||||
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
|
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
|
||||||
# alvr = {
|
# alvr = {
|
||||||
# url = "path:/home/servius/Projects/ALVR";
|
# url = "path:/home/servius/Projects/ALVR";
|
||||||
|
|||||||
@@ -40,4 +40,26 @@
|
|||||||
reverse_proxy localhost:8123
|
reverse_proxy localhost:8123
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Systemd service to pull latest Home Assistant image
|
||||||
|
systemd.services.homeassistant-image-update = {
|
||||||
|
description = "Pull latest Home Assistant Docker image";
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "oneshot";
|
||||||
|
ExecStart = "${pkgs.docker}/bin/docker pull ghcr.io/home-assistant/home-assistant:latest";
|
||||||
|
ExecStartPost = "${pkgs.systemd}/bin/systemctl restart docker-homeassistant.service";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# Systemd timer to run the update service every 5 days
|
||||||
|
systemd.timers.homeassistant-image-update = {
|
||||||
|
description = "Timer for Home Assistant image updates";
|
||||||
|
wantedBy = ["timers.target"];
|
||||||
|
timerConfig = {
|
||||||
|
OnCalendar = "Mon *-*-* 02:00:00";
|
||||||
|
OnUnitInactiveSec = "5d";
|
||||||
|
Persistent = true;
|
||||||
|
RandomizedDelaySec = "1h";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user