2025-12-25

This commit is contained in:
2025-12-25 18:37:54 +09:00
parent 9ac4e308f6
commit 9875eaf309
9 changed files with 82 additions and 48 deletions
+1 -1
View File
@@ -8,6 +8,6 @@
./sound.nix
./uwsm.nix
./regreet.nix
./greeter.nix
];
}
+1 -1
View File
@@ -4,7 +4,7 @@
packages = with pkgs; [
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
noto-fonts-color-emoji
ibm-plex
];
fontconfig = {
+45
View File
@@ -0,0 +1,45 @@
{ config, pkgs, ... }:
let
hyprGreetConf = pkgs.writeText "hyprland-greetd.conf" ''
monitor = DP-1, 5120x2880@60, 0x0, 2
monitor = DP-2, disable
monitor = DP-3, disable
exec-once = ${config.programs.regreet.package or pkgs.regreet}/bin/regreet; hyprctl dispatch exit
'';
in
{
services.greetd.enable = true;
services.greetd.settings.default_session = {
command = "${pkgs.hyprland}/bin/Hyprland --config ${hyprGreetConf}";
user = "greeter";
};
programs.regreet = {
# greetd を Hyprland で動かす
enable = true;
theme.name = "Adwaita-dark";
iconTheme.name = "Papirus-Dark";
cursorTheme.name = "Bibata-Modern-Ice";
settings = {
appearance = {
greeting_msg = "Welcome back!";
};
widget = {
clock = {
format = "%H:%M";
resolution = "100ms";
timezone = "Asia/Tokyo";
label_width = 150;
};
};
GTK = {
application_prefer_dark_theme = true;
};
background = {
path = "/usr/share/wallpaper/arknights-image-01.png";
};
};
};
}
-24
View File
@@ -1,24 +0,0 @@
{
programs.regreet = {
enable = true;
settings = {
appearance = {
greeting_msg = "Welcome back!";
};
widget = {
clock = {
format = "%H:%M";
resolution = "100ms";
timezone = "Asia/Tokyo";
label_width = 150;
};
};
GTK = {
application_prefer_dark_theme = true;
};
background = {
path = "/usr/share/wallpaper/arknights-image-01.png";
};
};
};
}