summaryrefslogtreecommitdiff
path: root/modules/desktops/ly.nix
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-06-30 15:06:34 -0400
committerFreya Murphy <freya@freyacat.org>2025-06-30 15:11:25 -0400
commite2486fa2fa5b3014a22b52ac521cd77f80b7444a (patch)
tree182b1eccb5eabb5b726b111ed01b1a6b5f9d83e3 /modules/desktops/ly.nix
parentadd ly display manager (diff)
downloaddotfiles-nix-e2486fa2fa5b3014a22b52ac521cd77f80b7444a.tar.gz
dotfiles-nix-e2486fa2fa5b3014a22b52ac521cd77f80b7444a.tar.bz2
dotfiles-nix-e2486fa2fa5b3014a22b52ac521cd77f80b7444a.zip
update ly version and update config
Diffstat (limited to '')
-rw-r--r--modules/desktops/ly.nix18
1 files changed, 11 insertions, 7 deletions
diff --git a/modules/desktops/ly.nix b/modules/desktops/ly.nix
index 6cde7f5..672f918 100644
--- a/modules/desktops/ly.nix
+++ b/modules/desktops/ly.nix
@@ -1,32 +1,36 @@
-
{
lib,
config,
pkgs,
+ self,
+ system,
...
}: let
inherit (lib) mkIf;
cfg = config.desktops;
in {
config = mkIf cfg.ly {
-
# display manager
services.displayManager.ly = {
enable = true;
+ package = self.packages.${system}.ly;
+
settings = let
base = "0x00${config.theme.colors.base}";
text = "0x00${config.theme.colors.text}";
+ bold = "0x01${config.theme.colors.text}";
error = "0x00${config.theme.colors.error}";
save_file = pkgs.writeText "ly-prefs" ''
${config.user}
- 0
+ 1
'';
in {
# general
clear_password = true;
default_input = "password";
- numlock = true;
- hide_f1_commands = true;
+ xinitrc = "null";
+ hide_version_string = true;
+ hide_key_hints = true;
# state (evil)
tty = 1;
save = false;
@@ -35,11 +39,11 @@ in {
# background
bg = base;
error_bg = base;
- blank_box = false;
+ blank_box = true;
# foreground
fg = text;
error_fg = error;
- border_fg = text;
+ border_fg = bold;
};
};