some linting

This commit is contained in:
Henri Dohmen 2025-12-23 23:16:26 +01:00
parent d778875a1b
commit 51e7ad82d1
Signed by: hd
GPG key ID: AB79213B044674AE
18 changed files with 12 additions and 23 deletions

View file

@ -2,7 +2,6 @@
config, config,
pkgs, pkgs,
secrets, secrets,
var,
... ...
}: }:
{ {

View file

@ -1,8 +1,5 @@
{ {
var,
pkgs, pkgs,
config,
secrets,
... ...
}: }:
{ {

View file

@ -1,7 +1,6 @@
{ {
config, config,
lib, lib,
pkgs,
... ...
}: }:
with lib; with lib;

View file

@ -2,7 +2,6 @@
config, config,
lib, lib,
pkgs, pkgs,
inputs,
... ...
}: }:
with lib; with lib;

View file

@ -1,7 +1,6 @@
{ {
config, config,
lib, lib,
options,
pkgs, pkgs,
secrets, secrets,
var, var,

View file

@ -1,7 +1,7 @@
{ config, lib, ... }: { config, lib, ... }:
let let
cfg = config.hd.desktop.accounts; cfg = config.hd.desktop.accounts;
inherit (lib) mkEnableOption mkIf; inherit (lib) mkIf;
in in
{ {
config = mkIf cfg.enable { config = mkIf cfg.enable {

View file

@ -6,7 +6,7 @@
}: }:
let let
cfg = config.hd.desktop.audio; cfg = config.hd.desktop.audio;
inherit (lib) mkEnableOption mkIf; inherit (lib) mkIf;
in in
{ {
config = mkIf cfg.enable { config = mkIf cfg.enable {

View file

@ -1,8 +1,6 @@
{ {
inputs,
lib, lib,
config, config,
options,
... ...
}: }:
with lib; with lib;

View file

@ -6,7 +6,7 @@
}: }:
let let
cfg = config.hd.desktop.fonts; cfg = config.hd.desktop.fonts;
inherit (lib) mkEnableOption mkIf; inherit (lib) mkIf;
in in
{ {
config = mkIf cfg.enable { config = mkIf cfg.enable {

View file

@ -6,7 +6,7 @@
}: }:
let let
cfg = config.hd.desktop.gpg; cfg = config.hd.desktop.gpg;
inherit (lib) mkEnableOption mkIf; inherit (lib) mkIf;
in in
{ {
config = mkIf cfg.enable { config = mkIf cfg.enable {

View file

@ -8,7 +8,7 @@
}: }:
let let
cfg = config.hd.desktop.network; cfg = config.hd.desktop.network;
inherit (lib) mkEnableOption mkIf; inherit (lib) mkIf;
in in
{ {
config = mkIf cfg.enable { config = mkIf cfg.enable {

View file

@ -1,12 +1,11 @@
{ {
config, config,
lib, lib,
pkgs,
... ...
}: }:
let let
cfg = config.hd.desktop.security; cfg = config.hd.desktop.security;
inherit (lib) mkEnableOption mkIf; inherit (lib) mkIf;
in in
{ {
config = mkIf cfg.enable { config = mkIf cfg.enable {

View file

@ -6,7 +6,7 @@
}: }:
let let
cfg = config.hd.desktop.services; cfg = config.hd.desktop.services;
inherit (lib) mkEnableOption mkIf; inherit (lib) mkIf;
in in
{ {
config = mkIf cfg.enable { config = mkIf cfg.enable {

View file

@ -6,7 +6,7 @@
}: }:
let let
cfg = config.hd.desktop.software; cfg = config.hd.desktop.software;
inherit (lib) mkEnableOption mkIf; inherit (lib) mkIf;
in in
{ {
imports = [ ./development.nix ]; imports = [ ./development.nix ];

View file

@ -6,7 +6,7 @@
}: }:
let let
cfg = config.hd.desktop.software.development; cfg = config.hd.desktop.software.development;
inherit (lib) mkEnableOption mkIf; inherit (lib) mkIf;
in in
{ {
config = mkIf cfg.enable { config = mkIf cfg.enable {

View file

@ -1,12 +1,11 @@
{ {
pkgs,
config, config,
lib, lib,
... ...
}: }:
let let
cfg = config.hd.desktop.windowManager; cfg = config.hd.desktop.windowManager;
inherit (lib) mkEnableOption mkIf; inherit (lib) mkIf;
in in
{ {
config = mkIf cfg.enable { config = mkIf cfg.enable {

View file

@ -1,4 +1,4 @@
{ lib, ... }@inputs: { ... }@inputs:
let let
inputs' = inputs // { inputs' = inputs // {
var = outputs; var = outputs;

View file

@ -44,5 +44,5 @@ rec {
ips = ips =
with builtins; with builtins;
mapAttrs (name: value: head (lib.splitString "/" (head value.ips))) wireguard-network; mapAttrs (_: value: head (lib.splitString "/" (head value.ips))) wireguard-network;
} }