10 کامیت‌ها bb02ff4c6f ... a1de84529c

نویسنده SHA1 پیام تاریخ
  Oleg Pykhalov a1de84529c apps: cluster1: workstation: guix: Update to c548773a. 1 ماه پیش
  Oleg Pykhalov cc46752682 apps: cluster1: workstation: nixos: Update to c548773a. 1 ماه پیش
  Oleg Pykhalov 0c56247cc9 nix: home-manager: Enable home-manager program. 1 ماه پیش
  Oleg Pykhalov e7f504328c home-manager: Add gnumake. 1 ماه پیش
  Oleg Pykhalov 352633a81e flake.lock: Update original input. 1 ماه پیش
  Oleg Pykhalov dd0dd6b0cd flake.lock: Update dotfiles-home-manager input. 1 ماه پیش
  Oleg Pykhalov c38659d682 Makefile: Add container-systemd-taskexecutor target. 1 ماه پیش
  Oleg Pykhalov 5c2d6c38e9 nix: container-systemd: Auto login to tty. 1 ماه پیش
  Oleg Pykhalov 5ac75d18c4 guix-image-workstation: Auto login to tty. 1 ماه پیش
  Oleg Pykhalov f3eae48017 guix-image-workstation: Add openssh service. 1 ماه پیش

+ 3 - 0
Makefile

@@ -329,5 +329,8 @@ nix-update-inputs:
 	$(MAKE) -C dotfiles/nix/container-systemd dotfiles-home-manager
 	$(MAKE) -C dotfiles/nix/container-systemd-taskexecutor original
 
+container-systemd-taskexecutor:
+	$(MAKE) -C dotfiles/nix/container-systemd-taskexecutor
+
 .PHONY: all
 all: dotfiles/scripts/nix-ssh-known-hosts-to-file.scm

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

@@ -10,10 +10,10 @@ patchesStrategicMerge:
 - daemonset.yaml
 images:
 - name: harbor.home.wugi.info/library/guix-image-workstation
-  newTag: "5a1fa712"
+  newTag: "c548773a"
 - name: harbor.home.wugi.info/library/nixos-systemd
   newName: harbor.home.wugi.info/library/nixos-systemd-taskexecutor
-  newTag: f4a67d00
+  newTag: c548773a
 - name: harbor.home.wugi.info/library/archlinux-systemd
   newTag: 08cf15ae
 - name: harbor.home.wugi.info/library/kali-rolling

+ 11 - 3
dotfiles/guixsd/guix-image-workstation.scm

@@ -29,7 +29,7 @@
              (srfi srfi-1))
 
 (use-package-modules gnupg linux pulseaudio ssh terminals virtualization wm)
-(use-service-modules avahi base desktop docker dbus shepherd)
+(use-service-modules avahi base desktop docker dbus shepherd ssh)
 
 (use-modules (services desktop)
              (services docker)
@@ -282,13 +282,21 @@ program.")))
   (packages (append (list openssh)
                     %base-packages))
 
-  (services (append (list (service guix-home-service-type
+  (services (append (list (service openssh-service-type
+                                   (openssh-configuration
+                                    (x11-forwarding? #t)
+                                    (gateway-ports? 'client)
+                                    (permit-root-login 'prohibit-password)
+                                    (password-authentication? #f)
+                                    (use-pam? #f)))
+                          (service guix-home-service-type
                                    `(("oleg" ,oleg-home)))
                           (dbus-service)
                           (elogind-service)
                           seatd-service
                           (service container-mingetty-service-type
-                                   (mingetty-configuration (tty "tty8")))
+                                   (mingetty-configuration (tty "tty8")
+                                                           (auto-login "oleg")))
                           (service avahi-service-type)
                           (simple-service 'host-container-guix shepherd-root-service-type
                                           (list

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

@@ -277,11 +277,11 @@
       },
       "locked": {
         "dir": "dotfiles/nix",
-        "lastModified": 1737414206,
-        "narHash": "sha256-Hijj1WpKSNGsm1OcEEttBZM+2eUO3R+IOX6ikozAqYo=",
+        "lastModified": 1738922895,
+        "narHash": "sha256-ACvo4A/y9VVPutJZJmIXwsSvxmJ84hepYT2Q7Uspm0w=",
         "ref": "refs/heads/master",
-        "rev": "ff46b4dd10d07cfe6f26b27e7fe85c1e19135cce",
-        "revCount": 12564,
+        "rev": "13e7e062755957fc11d8201a1c315cf21555e89e",
+        "revCount": 12683,
         "type": "git",
         "url": "file:///home/oleg/.local/share/chezmoi?dir=dotfiles/nix"
       },
@@ -2809,11 +2809,11 @@
       },
       "locked": {
         "dir": "dotfiles/nix/container-systemd",
-        "lastModified": 1737414351,
-        "narHash": "sha256-eBkb+jsyH9eSYneAOEvB4A26owdABVp9zG/7EHR8Lms=",
+        "lastModified": 1738923075,
+        "narHash": "sha256-zUVCm/CDv9/72UglpyIy0RgoS1JZJAGlsZG6VIOxyI8=",
         "ref": "refs/heads/master",
-        "rev": "4ab9594fbae13e2eeb0fe63ccc8c9924862abeae",
-        "revCount": 12565,
+        "rev": "08bf991c97a5c420b3104acce47f6c00ad39a28c",
+        "revCount": 12684,
         "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": 1737414206,
-        "narHash": "sha256-Hijj1WpKSNGsm1OcEEttBZM+2eUO3R+IOX6ikozAqYo=",
+        "lastModified": 1738922895,
+        "narHash": "sha256-ACvo4A/y9VVPutJZJmIXwsSvxmJ84hepYT2Q7Uspm0w=",
         "ref": "refs/heads/master",
-        "rev": "ff46b4dd10d07cfe6f26b27e7fe85c1e19135cce",
-        "revCount": 12564,
+        "rev": "13e7e062755957fc11d8201a1c315cf21555e89e",
+        "revCount": 12683,
         "type": "git",
         "url": "file:///home/oleg/.local/share/chezmoi?dir=dotfiles/nix"
       },

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

@@ -38,6 +38,7 @@
 
   services.journald.console = "/dev/tty";
 
+  services.getty.autologinUser = "oleg";
   systemd.services."getty@tty9" = {
     enable = true;
     wantedBy = [ "default.target" ];

+ 4 - 0
dotfiles/nix/pc0/home-manager.nix

@@ -22,6 +22,8 @@
     wayvnc
 
     nekoray
+
+    gnumake
   ];
 
   home.file = {
@@ -36,6 +38,8 @@
     };
   };
 
+  programs.home-manager.enable = true;
+
   programs.firefox = {
     enable = true;
     profiles =