about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-03-13 03:17:35 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-03-13 03:17:35 +0100
commitabb1c95ba2698833247191300b2943a94a14dc96 (patch)
treecd511ce5634fc1b47bcbd6a2ac08e8c9299c20b6 /modules
parentmodules/ly: Init (diff)
downloadnixos-config-abb1c95ba2698833247191300b2943a94a14dc96.zip
modules/ly: Don't enable for the nixos_shell
Diffstat (limited to 'modules')
-rw-r--r--modules/by-name/ly/ly/module.nix8
-rw-r--r--modules/common/default.nix1
-rw-r--r--modules/common/nixos_shell_configuration.nix1
3 files changed, 6 insertions, 4 deletions
diff --git a/modules/by-name/ly/ly/module.nix b/modules/by-name/ly/ly/module.nix
index 6d9a2d0a..376f6e61 100644
--- a/modules/by-name/ly/ly/module.nix
+++ b/modules/by-name/ly/ly/module.nix
@@ -10,13 +10,13 @@
 {
   lib,
   config,
-  libraries,
+  pkgs,
   ...
 }: let
-  cfg = config.soispha.services.ly;
+  cfg = config.soispha.programs.ly;
 in {
-  options.soispha.services.ly = {
-    enable = libraries.base.options.mkEnable "ly";
+  options.soispha.programs.ly = {
+    enable = lib.mkEnableOption "ly";
 
     batteryName = lib.mkOption {
       type = lib.types.nullOr lib.types.str;
diff --git a/modules/common/default.nix b/modules/common/default.nix
index f9831351..ef8d33f7 100644
--- a/modules/common/default.nix
+++ b/modules/common/default.nix
@@ -200,6 +200,7 @@
       imv.enable = true;
       less.enable = true;
       lf.enable = true;
+      ly.enable = lib.mkDefault true;
       gpg.enable = true;
       river = {
         enable = lib.mkDefault true;
diff --git a/modules/common/nixos_shell_configuration.nix b/modules/common/nixos_shell_configuration.nix
index 1bec0145..d37efbb3 100644
--- a/modules/common/nixos_shell_configuration.nix
+++ b/modules/common/nixos_shell_configuration.nix
@@ -32,6 +32,7 @@
 
     programs = {
       river.enable = false;
+      ly.enable = false;
 
       # We don't have access to the age secrets.
       atuin.enableAge = false;