chore(nixos): rename plg-mudics to mudics

This commit is contained in:
2025-11-28 16:03:18 +01:00
parent f62a595e4a
commit 23002bd983
+6 -6
View File
@@ -77,7 +77,7 @@
user = "mudics"; user = "mudics";
}; };
networking.hostName = "plg-mudics"; networking.hostName = "mudics";
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# Programs # Programs
@@ -101,7 +101,7 @@
path = with pkgs; [nushell unzip iputils]; path = with pkgs; [nushell unzip iputils];
script = "nu ${./update.sh}"; script = "nu ${./update.sh}";
serviceConfig = { serviceConfig = {
WorkingDirectory = "/home/mudics/plg-mudics"; WorkingDirectory = "/home/mudics/mudics";
User = "mudics"; User = "mudics";
Type = "oneshot"; Type = "oneshot";
}; };
@@ -114,7 +114,7 @@
path = with pkgs; [ungoogled-chromium]; path = with pkgs; [ungoogled-chromium];
script = "./plg-mudics-display"; script = "./plg-mudics-display";
serviceConfig = { serviceConfig = {
WorkingDirectory = "/home/mudics/plg-mudics"; WorkingDirectory = "/home/mudics/mudics";
User = "mudics"; User = "mudics";
Type = "simple"; Type = "simple";
}; };
@@ -128,14 +128,14 @@
wantedBy = ["default.target"]; wantedBy = ["default.target"];
after = ["update-mudics.service"]; after = ["update-mudics.service"];
path = with pkgs; [nixos-rebuild]; path = with pkgs; [nixos-rebuild];
script = "nixos-rebuild boot --flake .#plg-mudics"; script = "nixos-rebuild boot --flake .#mudics";
serviceConfig = { serviceConfig = {
WorkingDirectory = "/home/mudics/plg-mudics/nixos"; WorkingDirectory = "/home/mudics/mudics/nixos";
}; };
}; };
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"d /home/mudics/plg-mudics 0755 mudics - -" "d /home/mudics/mudics 0755 mudics - -"
]; ];
networking.firewall = { networking.firewall = {