chore: pretty up with aljeandra

This commit is contained in:
Peritia 2025-09-29 16:34:33 +02:00
parent 8342fcecce
commit 9758f1800f
3 changed files with 17 additions and 12 deletions

View file

@ -6,9 +6,12 @@
# Options: # Options:
# - enable -> Enable GParted system module # - enable -> Enable GParted system module
# #
{ config, lib, pkgs, ... }: {
config,
let lib,
pkgs,
...
}: let
cfg = config.nyx-module.system.gparted; cfg = config.nyx-module.system.gparted;
in { in {
options.nyx-module.system.gparted = { options.nyx-module.system.gparted = {

View file

@ -11,9 +11,12 @@
# - enableSeahorse -> Enable Seahorse (GUI key manager) # - enableSeahorse -> Enable Seahorse (GUI key manager)
# - pinentry.package -> Pinentry package (default: pkgs.pinentry-all) # - pinentry.package -> Pinentry package (default: pkgs.pinentry-all)
# #
{ config, lib, pkgs, ... }: {
config,
let lib,
pkgs,
...
}: let
cfg = config.nyx-module.system.gpg; cfg = config.nyx-module.system.gpg;
in { in {
options.nyx-module.system.gpg = { options.nyx-module.system.gpg = {
@ -23,7 +26,7 @@ in {
type = lib.types.bool; type = lib.types.bool;
default = false; default = false;
description = '' description = ''
Enable SSH agent emulation support in gpg-agent. Enable SSH agent emulation support in gpg-agent.
This allows you to use your GPG keys for SSH authentication. This allows you to use your GPG keys for SSH authentication.
''; '';
}; };
@ -34,7 +37,7 @@ in {
type = lib.types.package; type = lib.types.package;
default = pkgs.pinentry-all; default = pkgs.pinentry-all;
description = '' description = ''
The pinentry package to use. The pinentry package to use.
By default, `pkgs.pinentry-all` is installed, which includes By default, `pkgs.pinentry-all` is installed, which includes
all common backends (tty, curses, gtk2, qt, gnome3). all common backends (tty, curses, gtk2, qt, gnome3).
''; '';

View file

@ -26,10 +26,9 @@
# }; # };
# #
# WARNING: # WARNING:
# I tested this using XFCE no idea how it reacts to other DE or Wayland. # I tested this using XFCE no idea how it reacts to other DE or Wayland.
# I also take no responsibility for something now working or breaking # I also take no responsibility for something now working or breaking
# #
{ {
config, config,
pkgs, pkgs,
@ -120,7 +119,7 @@ in {
desktopManager.xfce.enable = true; desktopManager.xfce.enable = true;
xkb.layout = "de"; xkb.layout = "de";
}; };
# Has been renamed # Has been renamed
# services.xserver.displayManager.defaultSession = cfg.session; # services.xserver.displayManager.defaultSession = cfg.session;
services.displayManager.defaultSession = cfg.session; services.displayManager.defaultSession = cfg.session;