324 current 1970-01-01 01:00:00 23.11.20240518.e7cc617 6.6.30-rt30 *

This commit is contained in:
Max Känner 2024-05-20 19:40:05 +02:00
parent 0cd6a8708e
commit 01275a4785
2 changed files with 45 additions and 37 deletions

View File

@ -3,5 +3,6 @@
config = { config = {
music.enable = true; music.enable = true;
greetd.enable = true;
}; };
} }

View File

@ -1,52 +1,59 @@
{ {
config,
lib, lib,
config,
pkgs, pkgs,
... ...
}: let }: let
cfg = config.greetd;
themeEnv = '' themeEnv = ''
export XDG_DATA_DIRS="${pkgs.whitesur-gtk-theme}/share:$XDG_DATA_DIRS" export XDG_DATA_DIRS="${pkgs.whitesur-gtk-theme}/share:$XDG_DATA_DIRS"
export XDG_DATA_DIRS="${pkgs.whitesur-icon-theme}/share:$XDG_DATA_DIRS" export XDG_DATA_DIRS="${pkgs.whitesur-icon-theme}/share:$XDG_DATA_DIRS"
export XDG_DATA_DIRS="${pkgs.whitesur-cursors}/share:$XDG_DATA_DIRS" export XDG_DATA_DIRS="${pkgs.whitesur-cursors}/share:$XDG_DATA_DIRS"
''; '';
in { in {
environment.extraInit = themeEnv; options = {
programs.regreet = { greetd.enable = lib.mkEnableOption "greetd, a light weight greater deamon";
enable = true; };
settings = {
background = { config = lib.mkIf cfg.enable {
fit = "Contain"; environment.extraInit = themeEnv;
path = "/home/max/Documents/Blender/desktop background Informatiker/render 4K new color.png"; programs.regreet = {
}; enable = true;
gtk = { settings = {
application_prefer_dark_theme = true; background = {
cursor_theme_name = "capitaine-cursors-white"; fit = "Contain";
font_name = "FiraCode Nerd Font 20"; path = ../../assets/bg4k.png;
icon_theme_name = "WhiteSur-dark"; };
theme_name = "WhiteSur-Dark"; GTK = {
}; application_prefer_dark_theme = true;
commands = { cursor_theme_name = "capitaine-cursors-white";
reboot = ["systemctl" "reboot"]; font_name = "FiraCode Nerd Font 20";
poweroff = ["systemctl" "poweroff"]; icon_theme_name = "WhiteSur-dark";
theme_name = "WhiteSur-Dark";
};
commands = {
reboot = ["systemctl" "reboot"];
poweroff = ["systemctl" "poweroff"];
};
}; };
}; };
users.users.greeter = {
isNormalUser = false;
description = "Greeter";
extraGroups = [];
};
services.greetd.enable = true;
environment.etc."greetd/environments".text = ''
sway
'';
environment.systemPackages = with pkgs; [
whitesur-gtk-theme
whitesur-icon-theme
whitesur-cursors
];
}; };
users.users.greeter = {
isNormalUser = false;
description = "Greeter";
extraGroups = [];
};
services.greetd.enable = true;
environment.etc."greetd/environments".text = ''
sway
'';
environment.systemPackages = with pkgs; [
whitesur-gtk-theme
whitesur-icon-theme
whitesur-cursors
];
} }