324 current 1970-01-01 01:00:00 23.11.20240518.e7cc617 6.6.30-rt30 *
This commit is contained in:
parent
0cd6a8708e
commit
01275a4785
@ -3,5 +3,6 @@
|
|||||||
|
|
||||||
config = {
|
config = {
|
||||||
music.enable = true;
|
music.enable = true;
|
||||||
|
greetd.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,24 +1,30 @@
|
|||||||
{
|
{
|
||||||
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 {
|
||||||
|
options = {
|
||||||
|
greetd.enable = lib.mkEnableOption "greetd, a light weight greater deamon";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
environment.extraInit = themeEnv;
|
environment.extraInit = themeEnv;
|
||||||
programs.regreet = {
|
programs.regreet = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
background = {
|
background = {
|
||||||
fit = "Contain";
|
fit = "Contain";
|
||||||
path = "/home/max/Documents/Blender/desktop background Informatiker/render 4K new color.png";
|
path = ../../assets/bg4k.png;
|
||||||
};
|
};
|
||||||
gtk = {
|
GTK = {
|
||||||
application_prefer_dark_theme = true;
|
application_prefer_dark_theme = true;
|
||||||
cursor_theme_name = "capitaine-cursors-white";
|
cursor_theme_name = "capitaine-cursors-white";
|
||||||
font_name = "FiraCode Nerd Font 20";
|
font_name = "FiraCode Nerd Font 20";
|
||||||
@ -49,4 +55,5 @@ in {
|
|||||||
whitesur-icon-theme
|
whitesur-icon-theme
|
||||||
whitesur-cursors
|
whitesur-cursors
|
||||||
];
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user