From 7fb888c693c921be7f4e4d631c95af390d7ddc9a Mon Sep 17 00:00:00 2001 From: insert Date: Sun, 14 Apr 2024 12:07:47 -0400 Subject: [PATCH] change to tuigreet --- configuration.nix | 30 +++++++++--------------------- home-files.nix | 2 +- 2 files changed, 10 insertions(+), 22 deletions(-) diff --git a/configuration.nix b/configuration.nix index f0a316f..0cdd9e4 100644 --- a/configuration.nix +++ b/configuration.nix @@ -53,8 +53,15 @@ # Enable the KDE Plasma Desktop Environment. services.displayManager.sddm.enable = false; services.xserver.desktopManager.plasma5.enable = false; - services.greetd.enable = true; - programs.regreet.enable = true; + services.greetd = { + enable = true; + settings = { + default_session = { + command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time -r --asterisks --cmd Hyprland"; + user = "greeter"; + }; + }; + }; services.xrdp.enable = false; services.xrdp.defaultWindowManager = "startplasma-x11"; virtualisation.docker = { @@ -209,25 +216,6 @@ # "--unsupported-gpu" # ]; #}; - environment.etc."greetd/regreet.toml".text = lib.mkForce ''[background] -path = "/home/insert/Documents/cat-background/background.png" -fit = "Fill" -[GTK] -# Whether to use the dark theme -application_prefer_dark_theme = true - -# Cursor theme name -#cursor_theme_name = "Adwaita" - -# Font name and size -font_name = "Monocraft 20" - -# Icon theme name -icon_theme_name = "Breeze Dark" - -# GTK theme name -#theme_name = "Adwaita" - ''; services.earlyoom = { enable = true; diff --git a/home-files.nix b/home-files.nix index 03c9652..144df93 100644 --- a/home-files.nix +++ b/home-files.nix @@ -378,7 +378,7 @@ $mainMod = ALT # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Q, exec, kitty zsh bind = $mainMod, C, killactive, -#bind = $mainMod, M, exit, +bind = $mainMod, M, exit, bind = $mainMod, E, exec, kitty nnn bind = $mainMod, V, togglefloating, bind = $mainMod, R, exec, wofi --show drun --allow-images