summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--hosts/vm/cfg.nix4
-rw-r--r--mixins/greet.nix45
-rwxr-xr-xrun.sh1
3 files changed, 17 insertions, 33 deletions
diff --git a/hosts/vm/cfg.nix b/hosts/vm/cfg.nix
index 8c56336..7f822b0 100644
--- a/hosts/vm/cfg.nix
+++ b/hosts/vm/cfg.nix
@@ -15,8 +15,8 @@
     ../../mixins/greet.nix
     # ../../mixins/hyprland.nix
     ../../mixins/sway.nix
-    (modulesPath + "/profiles/qemu-guest.nix")
-    (modulesPath + "/virtualisation/qemu-vm.nix")
+    # (modulesPath + "/profiles/qemu-guest.nix")
+    # (modulesPath + "/virtualisation/qemu-vm.nix")
   ];
 
   config = {
diff --git a/mixins/greet.nix b/mixins/greet.nix
index 2da474b..103b37a 100644
--- a/mixins/greet.nix
+++ b/mixins/greet.nix
@@ -7,37 +7,22 @@
   user = "tzlil";
 
   users.users.greeter.packages = [pkgs.sway];
-  greet = "${pkgs.greetd.wlgreet.out}/bin/wlgreet -e ${pkgs.writeText "config.toml" "
-[background]
-red = 0
-green = 0
-blue = 0
-opacity = 0.9
-
-[headline]
-red = 1.0
-green = 1.0
-blue = 1.0
-opacity = 1.0
-
-[prompt]
-red = 1.0
-green = 1.0
-blue = 1.0
-opacity = 1.0
-
-[promptErr]
-red = 1.0
-green = 1.0
-blue = 1.0
-opacity = 1.0
+  greet = "${pkgs.greetd.gtkgreet.out}/bin/gtkgreet -l -s ${pkgs.writeText "gtkgreet.css" "
+window {
+  background-image: url(\"${pkgs.fetchurl {
+    url = "https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fget.wallhere.com%2Fphoto%2FSerial-Experiments-Lain-anime-1363057.jpg&f=1&nofb=1&ipt=ba4bec61767537f6da6f0298f40e6a8ff2a5f1dc0e075a40bf77ba3a98654e15&ipo=images";
+    sha256 = "sha256-oFUfNBdodHP7p/tAlwttzsY2SIyfsEgya6sN2GXEGy8=";
+  }}\");
+  background-size: cover;
+  background-position: center;
+}
 
-[border]
-red = 1.0
-green = 1.0
-blue = 1.0
-opacity = 1.0
-  "})}";
+box#body {
+  background-color: rgba(50, 50, 50, 0.5);
+  border-radius: 10px;
+  padding: 50px;
+}
+"}";
 
   kiosk = command: "${pkgs.cage.out}/bin/cage -- ${command}";
 in {
diff --git a/run.sh b/run.sh
index 2b514c5..7ac45bc 100755
--- a/run.sh
+++ b/run.sh
@@ -10,5 +10,4 @@ qemu-system-x86_64 \
     -vga none \
     -device virtio-gpu-pci \
     -audiodev pa,id=snd0 \
-    -serial stdio \
     -usb -device usb-mouse