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, ...}: { {pkgs, ...}: {
gtk.enable = true; gtk.enable = true;
x11.enable = true;
name = "catppuccin-mocha-dark-cursors"; name = "catppuccin-mocha-dark-cursors";
package = pkgs.catppuccin-cursors.macchiatoDark; package = pkgs.catppuccin-cursors.macchiatoDark;
size = 14; size = 14;

View file

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

View file

@ -1,5 +1,7 @@
{ {
focus_on_activate = 1; focus_on_activate = 1;
force_default_wallpaper = 0; 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) (modules)
syncthing syncthing
ollama ollama
plasma # plasma
# sddm # sddm
; ;
}; };

View file

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

View file

@ -1,6 +1,7 @@
{ {
pkgs, pkgs,
flake, flake,
lib,
... ...
}: let }: let
inherit (flake.config.aesthetics.themes.theme) font; inherit (flake.config.aesthetics.themes.theme) font;
@ -8,36 +9,38 @@ in {
programs.regreet = { programs.regreet = {
enable = true; enable = true;
package = pkgs.greetd.regreet; package = pkgs.greetd.regreet;
# font = { settings = {
# name = font; appearance = {
# size = 11; greeting_msg = "Back for more, I see.";
# package = builtins.attrValues { };
# inherit GTK = {
# (pkgs.nerd-fonts) application_prefer_dark_theme = true;
# monaspace 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 = { nixpkgs = {
config = { config = {
allowUnfree = true; 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;
} }