From 5588cb0b73d9db7f865e5cc3d74da6a1291f2312 Mon Sep 17 00:00:00 2001 From: Tomas Rivera <137088692+Totorile1@users.noreply.github.com> Date: Mon, 2 Mar 2026 14:23:38 +0100 Subject: [PATCH] worked on ly config and added Anki --- hosts/laptop/home.nix | 1 + modules/home-manager/anki.nix | 15 +++++++++++++++ modules/nixos/lyminimal.nix | 4 ++-- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 modules/home-manager/anki.nix diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index 754979e..3dd84e8 100755 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -23,6 +23,7 @@ imports = [ ../../modules/home-manager/oh-my-zsh.nix # another zsh customizer ../../modules/home-manager/hypridle.nix ../../modules/home-manager/swaylock.nix +../../modules/home-manager/anki.nix ]; diff --git a/modules/home-manager/anki.nix b/modules/home-manager/anki.nix new file mode 100644 index 0000000..fbf0f7f --- /dev/null +++ b/modules/home-manager/anki.nix @@ -0,0 +1,15 @@ +{ config, pkgs, ... }: + +{ + programs.anki = { + enable = true; + sync = { + autoSync = true; + autoSyncMediaMinutes = 10; + syncMedia = true; + }; + addons = [ + pkgs.ankiAddons.recolor + ]; + }; +} diff --git a/modules/nixos/lyminimal.nix b/modules/nixos/lyminimal.nix index 63dade4..bab66bd 100644 --- a/modules/nixos/lyminimal.nix +++ b/modules/nixos/lyminimal.nix @@ -10,7 +10,7 @@ # Basic TUI settings clear_password = true; default_input = "password"; - fg = "0x00FFFFFF"; + fg = "0xdecda600"; full_color = true; hide_borders = false; hide_key_hints = true; @@ -40,7 +40,7 @@ # Optional commands (leave null or comment if unused) hibernate_cmd = null; inactivity_cmd = null; - #login_cmd = "exec hyprland"; + #login_cmd = "exec /run/current-system/sw/bin/hyprland"; logout_cmd = null; sleep_cmd = null;