1
0
Fork 0

Dimaga: install Gnome

Services: Fix Forgejo runner communication
This commit is contained in:
Aires 2024-08-22 16:26:30 -04:00
parent 1ebb22cd3c
commit 98a87b4ab4
4 changed files with 11 additions and 9 deletions

View file

@ -297,11 +297,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1723991338, "lastModified": 1724224976,
"narHash": "sha256-Grh5PF0+gootJfOJFenTTxDTYPidA3V28dqJ/WV7iis=", "narHash": "sha256-Z/ELQhrSd7bMzTO8r7NZgi9g5emh+aRKoCdaAv5fiO0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8a3354191c0d7144db9756a74755672387b702ba", "rev": "c374d94f1536013ca8e92341b540eba4c22f9c62",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -313,11 +313,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1724098845, "lastModified": 1724242322,
"narHash": "sha256-D5HwjQw/02fuXbR4LCTo64koglP2j99hkDR79/3yLOE=", "narHash": "sha256-HMpK7hNjhEk4z5SFg5UtxEio9OWFocHdaQzCfW1pE7w=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f1bad50880bae73ff2d82fafc22010b4fc097a9c", "rev": "224042e9a3039291f22f4f2ded12af95a616cca0",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -222,6 +222,9 @@ in
}; };
}; };
# Install Gnome
ui.desktops.gnome.enable = true;
users.aires = { users.aires = {
enable = true; enable = true;
services = { services = {

View file

@ -18,8 +18,7 @@ else
fi fi
echo "Starting services..." echo "Starting services..."
systemctl restart duplicacy-web.service systemctl restart duplicacy-web.service forgejo.service jellyfin.service
systemctl restart airsonic.service forgejo.service jellyfin.service
systemctl --machine aires@.host --user start syncthing.service systemctl --machine aires@.host --user start syncthing.service
systemctl restart nginx.service systemctl restart nginx.service
echo "Services started. $(hostname) is ready to go!" echo "Services started. $(hostname) is ready to go!"

View file

@ -87,7 +87,7 @@ in
instances.default = { instances.default = {
enable = true; enable = true;
name = config.networking.hostName; name = config.networking.hostName;
url = cfg.url; url = "https://${cfg.url}";
token = cfg.actions.token; token = cfg.actions.token;
labels = [ labels = [
"nix:docker://nixos/nix" # Shoutout to Icewind 1991 for this syntax: https://icewind.nl/entry/gitea-actions-nix/ "nix:docker://nixos/nix" # Shoutout to Icewind 1991 for this syntax: https://icewind.nl/entry/gitea-actions-nix/