feat: can't get regreet to work

This commit is contained in:
Nick 2025-01-10 17:35:00 -06:00
parent dc82cbe08d
commit 6c31034b45
7 changed files with 53 additions and 33 deletions

View file

@ -1,5 +1,6 @@
{pkgs, ...}: {
gtk.enable = true;
x11.enable = true;
name = "catppuccin-mocha-dark-cursors";
package = pkgs.catppuccin-cursors.macchiatoDark;
size = 14;

View file

@ -1,4 +1,5 @@
[
"regreet; hyprctl dispatch exit"
"swaylock"
"wl-clipboard"
"wpaperd"

View file

@ -1,5 +1,7 @@
{
focus_on_activate = 1;
force_default_wallpaper = 0;
# vrr = 1;
disable_hyprland_logo = true;
disable_splash_rendering = true;
disable_hyprland_qtutils_check = true;
}

View file

@ -64,7 +64,7 @@ in {
(modules)
syncthing
ollama
plasma
# plasma
# sddm
;
};

View file

@ -9,8 +9,8 @@
"hypridle"
"hyprland"
"hyprlock"
"regreet"
# "swaylock"
# "regreet"
"swaylock"
"thunar"
"wayland"
];

View file

@ -1,6 +1,7 @@
{
pkgs,
flake,
lib,
...
}: let
inherit (flake.config.aesthetics.themes.theme) font;
@ -8,36 +9,38 @@ in {
programs.regreet = {
enable = true;
package = pkgs.greetd.regreet;
# font = {
# name = font;
# size = 11;
# package = builtins.attrValues {
# inherit
# (pkgs.nerd-fonts)
# monaspace
# ;
settings = {
appearance = {
greeting_msg = "Back for more, I see.";
};
GTK = {
application_prefer_dark_theme = true;
cursor_theme_name = lib.mkForce "catppuccin-macchiato-dark-cursors";
font_name = lib.mkForce "${font} 11";
icon_theme_name = lib.mkForce "Papirus-Dark";
theme_name = lib.mkForce "catppuccin-macchiato-mauve-compact";
};
};
# theme = {
# name = "catppuccin-macchiato-mauve-compact";
# package = pkgs.catppuccin-gtk.override {
# size = "compact";
# variant = "macchiato";
# accents = [
# "mauve"
# ];
# };
# };
# cursorTheme = {
# name = "catppuccin-macchiato-dark-cursors";
# package = pkgs.catppuccin-cursors.macchiatoDark;
# };
# iconTheme = {
# name = "Papirus-Dark";
# package = pkgs.catppuccin-papirus-folders.override {
# flavor = "macchiato";
# accent = "mauve";
# };
# };
theme = {
name = "catppuccin-macchiato-mauve-compact";
package = pkgs.catppuccin-gtk.override {
size = "compact";
variant = "macchiato";
accents = [
"mauve"
];
};
};
cursorTheme = {
name = "catppuccin-macchiato-dark-cursors";
package = pkgs.catppuccin-cursors.macchiatoDark;
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.catppuccin-papirus-folders.override {
flavor = "macchiato";
accent = "mauve";
};
};
};
}

View file

@ -1,4 +1,8 @@
{
config,
lib,
...
}: {
nixpkgs = {
config = {
allowUnfree = true;
@ -26,4 +30,13 @@
];
};
};
# Print package list
environment.etc."current-system-packages".text = let
packages = builtins.map (p: "${p.name}") config.environment.systemPackages;
sortedUnique = builtins.sort builtins.lessThan (lib.unique packages);
formatted = builtins.concatStringsSep "\n" sortedUnique;
in
formatted;
}