aboutsummaryrefslogtreecommitdiff
path: root/nixos/nixosModules/ly.nix
diff options
context:
space:
mode:
authorspl3g <spleefer6@yandex.ru>2024-12-27 00:53:54 +0300
committerspl3g <spleefer6@yandex.ru>2025-05-01 14:58:57 +0300
commit1a81ed6a7600c1003db70d354b1544feac16d5ee (patch)
tree8adfc297bcfa34bc6f68abced673ce23519a8456 /nixos/nixosModules/ly.nix
parent3c08983666e82beee3a88e4d9dd326f4489a5d42 (diff)
feat: add ly
Diffstat (limited to 'nixos/nixosModules/ly.nix')
-rw-r--r--nixos/nixosModules/ly.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/nixos/nixosModules/ly.nix b/nixos/nixosModules/ly.nix
new file mode 100644
index 0000000..c126493
--- /dev/null
+++ b/nixos/nixosModules/ly.nix
@@ -0,0 +1,16 @@
+{ config, lib, ... }:
+
+{
+ options = {
+ ly.enable = lib.mkEnableOption "enable ly desktop manager";
+ };
+
+ config = lib.mkIf config.ly.enable {
+ services.displayManager.ly = {
+ enable = true;
+ settings = {
+ save = true;
+ };
+ };
+ };
+}