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" = { fileSystems."/home/chris/games" = {
device = "/dev/disk/by-label/games"; device = "/dev/disk/by-label/games";

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,6 +1,5 @@
{ config, options, lib, pkgs, user, ... }: { config, lib, pkgs, user, ... }:
let let
inherit (lib.meta) getExe;
inherit (lib.modules) mkIf; inherit (lib.modules) mkIf;
inherit (lib.attrsets) attrValues; 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.modules) mkIf;
inherit (lib.attrsets) attrValues;
cfg = config.modules.${user}.desktop.editors.zed; cfg = config.modules.${user}.desktop.editors.zed;
in { in {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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