fix: temporarily disable 'ly' on desktop

This commit is contained in:
2026-02-22 12:42:43 +01:00
parent 7bb0f6fca4
commit 85df2e7886
2 changed files with 27 additions and 10 deletions

View File

@@ -59,6 +59,7 @@ in
secrets.username = username;
docker.user = username;
nfc.user = username;
desktop.ly.enable = true;
nix.settings.secret-key-files = [ config.sops.secrets.nix_signing_key_astyanax.path ];

View File

@@ -1,4 +1,19 @@
{ config, lib, ... }:
let
cfg = config.desktop;
in
{
options.desktop = {
ly = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
};
};
};
config = {
programs.niri.enable = true;
services = {
@@ -9,8 +24,9 @@
IdleActionSec = 1800;
};
displayManager.ly = {
displayManager.ly = lib.mkIf cfg.ly.enable {
enable = true;
};
};
};
}