resolve all warnings

This commit is contained in:
Chris Kruining 2025-03-29 00:23:18 +01:00
parent ac8aee70c0
commit 53413050db
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg
18 changed files with 20 additions and 32 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, ... }:
{
fileSystems."/home/chris/games" = {
device = "/dev/disk/by-label/games";

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, ... }:
{
modules = {
system.audio.enable = true;

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, ... }:
{
imports = [ ./hardware.nix ];

View file

@ -1,6 +1,4 @@
{ lib, self, ... }:
let
in
{ ... }:
{
mkWinApp = { }: {

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, user, ... }:
{ config, lib, user, ... }:
let
inherit (lib) mkIf;
inherit (lib.my) mkWinApp;
# inherit (lib.my) mkWinApp;
cfg = config.modules.${user}.desktop.applications.studio;
in

View file

@ -1,6 +1,5 @@
{ inputs, config, options, lib, pkgs, user, ... }:
{ config, lib, user, ... }:
let
inherit (lib.meta) getExe;
inherit (lib.modules) mkIf;
cfg = config.modules.${user}.desktop.editors.nvim;

View file

@ -1,6 +1,5 @@
{ config, options, lib, pkgs, user, ... }:
{ config, lib, pkgs, user, ... }:
let
inherit (lib.meta) getExe;
inherit (lib.modules) mkIf;
inherit (lib.attrsets) attrValues;

View file

@ -1,6 +1,5 @@
{ config, options, lib, pkgs, user, ... }: let
{ config, lib, pkgs, user, ... }: let
inherit (lib.modules) mkIf;
inherit (lib.attrsets) attrValues;
cfg = config.modules.${user}.desktop.editors.zed;
in {

View file

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, user, ... }:
{ config, lib, user, ... }:
let
inherit (lib.modules) mkIf;
in

View file

@ -1,7 +1,6 @@
{ config, options, lib, pkgs, user, ... }:
{ config, lib, pkgs, user, ... }:
let
inherit (lib.modules) mkIf;
inherit (lib.strings) concatStringsSep;
inherit (lib.options) mkEnableOption;
cfg = config.modules.${user}.shell.toolset.eza;

View file

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, user, ... }:
{ config, lib, pkgs, user, ... }:
let
inherit (lib) mkIf mkEnableOption;

View file

@ -1,6 +1,5 @@
{ config, options, lib, pkgs, user, ... }:
{ config, lib, pkgs, user, ... }:
let
inherit (builtins) readFile;
inherit (lib.attrsets) attrValues;
inherit (lib.modules) mkIf;
in

View file

@ -1,6 +1,5 @@
{ config, options, lib, pkgs, user, ... }:
{ config, lib, pkgs, user, ... }:
let
inherit (builtins) getEnv;
inherit (lib.modules) mkIf;
cfg = config.modules.${user}.shell.toolset.gnupg;

View file

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, user, ... }:
{ config, lib, pkgs, user, ... }:
let
inherit (lib.modules) mkIf;
in

View file

@ -1,4 +1,4 @@
{ inputs, lib, pkgs, config, ... }: let
{ inputs, lib, config, ... }: let
inherit (lib) mkEnableOption mkIf;
cfg = config.modules.authentication.himmelblau;

View file

@ -1,4 +1,4 @@
{ inputs, config, options, lib, pkgs, ... }:
{ inputs, config, lib, pkgs, ... }:
let
inherit (lib.modules) mkIf;
in
@ -132,10 +132,8 @@ in
};
files = let
inherit (builtins) readFile listToAttrs attrNames readDir mapAttrs;
inherit (lib.attrsets) nameValuePair;
inherit (builtins) readDir;
inherit (lib) concatMapAttrs;
inherit (lib.my) mapFilterAttrs;
readDirRec = src: dir: fn:
concatMapAttrs (name: type: if type == "directory"

View file

@ -1,6 +1,5 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, ... }:
let
inherit (lib.options) mkEnableOption;
inherit (lib.modules) mkIf;
cfg = config.modules.shell;

View file

@ -1,6 +1,5 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, ... }:
let
inherit (lib.attrsets) attrValues;
inherit (lib.modules) mkIf;
cfg = config.modules.shell.zsh;