From 32941e6da21f9ef1a7d8ebc0d24ce3fd12996bb3 Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 15 Aug 2023 19:41:49 +0900 Subject: [PATCH] Test --- desktops/hyprland.nix | 18 +++++++++++++++++- .../home-manager/hyprland-conf.nix | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/desktops/hyprland.nix b/desktops/hyprland.nix index f48c47c2..55ad460b 100644 --- a/desktops/hyprland.nix +++ b/desktops/hyprland.nix @@ -1,6 +1,23 @@ {pkgs, ...}: { services.xserver.videoDrivers = ["nvidia"]; + # Greeter, for when you start the computer + programs.regreet = { + enable = true; + # https://github.com/rharish101/ReGreet/blob/main/regreet.sample.toml + settings = { + background.path = "/etc/nixos/git/wallpapers/gruvbox/wallpaper2.jpg"; + background.fit = "Contain"; + GTK.application_prefer_dark_theme = true; + GTK.cursor_theme_name = "Adwaita"; + GTK.font_name = "Cantarell 16"; + GTK.icon_theme_name = "Adwaita"; + GTK.theme_name = "Adwaita"; + commands.reboot = [ "systemctl", "reboot" ]; + commands.poweroff = [ "systemctl", "poweroff" ]; + }; + }; + # Brightness and volume control programs.light.enable = true; @@ -70,7 +87,6 @@ font-awesome # lock screen - swaylock swaylock-fancy ]; diff --git a/hosts/nixos-laptop/home-manager/hyprland-conf.nix b/hosts/nixos-laptop/home-manager/hyprland-conf.nix index 62ac16c0..ac45e46f 100644 --- a/hosts/nixos-laptop/home-manager/hyprland-conf.nix +++ b/hosts/nixos-laptop/home-manager/hyprland-conf.nix @@ -186,7 +186,7 @@ # Init the wallpaper daemon and set the wallpaper: sww init & #TODO: Set this - sww img /etc/nixos/git/desktops/wallpapers/gruvbox/wallpaper1.png & + sww img /etc/nixos/git/desktops/wallpapers/gruvbox/wallpaper1.jpg & # Add the network manager applet: nm-applet --indicator & # The bar