This commit is contained in:
2025-11-24 21:29:06 +09:00
parent 4b9a2d8535
commit fea45e90cf

View File

@@ -110,6 +110,47 @@
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
}; };
environment.etc = {
"greetd/niri.kdl" = {
text = ''
hotkey-overlay {
skip-at-startup
}
environment {
DMS_RUN_GREETER "1"
}
gestures {
hot-corners {
off
}
}
layout {
background-color "#000000"
}
'';
# The UNIX file mode bits
mode = "0644";
};
"greetd/config.toml" = {
text = ''
[terminal]
vt = 1
[default_session]
user = "greeter"
command = "dms-greeter --command niri -C /etc/greetd/niri.kdl"
### Uncomment the below line to run the greeter on Hyprland
# command = "dms-greeter --command Hyprland"
### Uncomment to run the greeter on sway
# command = "dms-greeter --command sway"
'';
mode = "0644";
};
};
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];