4 Commits 7bc2162f19 ... d9bf399bd4

Author SHA1 Message Date
  Oleg Pykhalov d9bf399bd4 apps: cluster1: workstation: nixos: Update to b004725a. 1 month ago
  Oleg Pykhalov b004725a86 flake.lock: Update original input. 1 month ago
  Oleg Pykhalov c8478f66a8 flake.lock: Update dotfiles-home-manager input. 1 month ago
  Oleg Pykhalov 5f40f7a600 nix: container-systemd: Configure ExecStart. 1 month ago

+ 1 - 1
apps/cluster1/workstation/kustomization.yaml

@@ -13,7 +13,7 @@ images:
   newTag: "7518682c"
 - name: harbor.home.wugi.info/library/nixos-systemd
   newName: harbor.home.wugi.info/library/nixos-systemd-taskexecutor
-  newTag: 114a613a
+  newTag: b004725a
 - name: harbor.home.wugi.info/library/archlinux-systemd
   newTag: 08cf15ae
 - name: harbor.home.wugi.info/library/kali-rolling

+ 8 - 8
dotfiles/nix/container-systemd-taskexecutor/flake.lock

@@ -277,11 +277,11 @@
       },
       "locked": {
         "dir": "dotfiles/nix",
-        "lastModified": 1738945355,
-        "narHash": "sha256-mW9jrOb0zXOmXxq45qkiQHcXy0gIwMQGs1xHi5dtmT8=",
+        "lastModified": 1738949874,
+        "narHash": "sha256-tTsUuEAAERWd+2HxnHmLH0euKa8hK0b/uDuq1YO9AsY=",
         "ref": "refs/heads/master",
-        "rev": "3e613243493fae96be9571ab84567a98832973ac",
-        "revCount": 12705,
+        "rev": "5f40f7a600c622514d9e9ddd7e15bea58e2b3d95",
+        "revCount": 12709,
         "type": "git",
         "url": "file:///home/oleg/.local/share/chezmoi?dir=dotfiles/nix"
       },
@@ -2809,11 +2809,11 @@
       },
       "locked": {
         "dir": "dotfiles/nix/container-systemd",
-        "lastModified": 1738945513,
-        "narHash": "sha256-b5dXD/diehAM+MNQSsAuMzO65GufzG7TXbmDFO9XRAI=",
+        "lastModified": 1738949923,
+        "narHash": "sha256-cwAjovRj7dmAoAjxK6G01WUQVAkMpA4zcTHB5NOTxbQ=",
         "ref": "refs/heads/master",
-        "rev": "7cd7f001c4cc3e03e83b4c58aec928e41cdab3c5",
-        "revCount": 12706,
+        "rev": "c8478f66a8392b2921f8be5eaf10ee69d7aadddd",
+        "revCount": 12710,
         "type": "git",
         "url": "file:///home/oleg/.local/share/chezmoi?dir=dotfiles/nix/container-systemd"
       },

+ 4 - 4
dotfiles/nix/container-systemd/flake.lock

@@ -268,11 +268,11 @@
       },
       "locked": {
         "dir": "dotfiles/nix",
-        "lastModified": 1738945355,
-        "narHash": "sha256-mW9jrOb0zXOmXxq45qkiQHcXy0gIwMQGs1xHi5dtmT8=",
+        "lastModified": 1738949874,
+        "narHash": "sha256-tTsUuEAAERWd+2HxnHmLH0euKa8hK0b/uDuq1YO9AsY=",
         "ref": "refs/heads/master",
-        "rev": "3e613243493fae96be9571ab84567a98832973ac",
-        "revCount": 12705,
+        "rev": "5f40f7a600c622514d9e9ddd7e15bea58e2b3d95",
+        "revCount": 12709,
         "type": "git",
         "url": "file:///home/oleg/.local/share/chezmoi?dir=dotfiles/nix"
       },

+ 7 - 1
dotfiles/nix/container-systemd/hosts/nixos-systemd.nix

@@ -38,10 +38,16 @@
 
   services.journald.console = "/dev/tty";
 
-  services.getty.autologinUser = "oleg";
   systemd.services."getty@tty9" = {
     enable = true;
     wantedBy = [ "default.target" ];
+    overrideStrategy = "asDropin";
+    serviceConfig = {
+      ExecStart = [
+        ""  # override upstream default with an empty ExecStart
+        "@${pkgs.utillinux}/sbin/agetty agetty --login-program ${pkgs.shadow}/bin/login --autologin oleg --noclear %I $TERM"
+      ];
+    };
   };
 
   # Define a user account. Don't forget to set a password with ‘passwd’.