refactor: resolve warnings/errors in checks

This commit is contained in:
2026-02-07 15:14:42 +01:00
parent 6ba7fd28d5
commit 6233bd0867
20 changed files with 5 additions and 27 deletions

View File

@@ -37,7 +37,6 @@
outputs = outputs =
{ {
self,
nixpkgs, nixpkgs,
nixCats, nixCats,
... ...
@@ -50,7 +49,7 @@
mkDependencyOverlays = system: [ mkDependencyOverlays = system: [
(utils.standardPluginOverlay inputs) (utils.standardPluginOverlay inputs)
(final: prev: { (_final: _prev: {
mcp-hub = inputs.mcp-hub.packages.${system}.default; mcp-hub = inputs.mcp-hub.packages.${system}.default;
}) })
]; ];

View File

@@ -2,10 +2,10 @@ local autocmd = vim.api.nvim_create_autocmd
autocmd("BufNewFile", { autocmd("BufNewFile", {
pattern = "shell.nix", pattern = "shell.nix",
command = "0r ~/.config/nvim/skeletons/shell.nix", command = "0r ~/.config/nvim/skeletons/shell.nix.skeleton",
}) })
autocmd("BufNewFile", { autocmd("BufNewFile", {
pattern = "flake.nix", pattern = "flake.nix",
command = "0r ~/.config/nvim/skeletons/flake.nix", command = "0r ~/.config/nvim/skeletons/flake.nix.skeleton",
}) })

View File

@@ -1,6 +1,5 @@
{ {
lib, lib,
inputs,
config, config,
pkgs, pkgs,
... ...

View File

@@ -1,5 +1,3 @@
{ pkgs, ... }:
{ {
programs.keepassxc = { programs.keepassxc = {
enable = true; enable = true;

View File

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

View File

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

View File

@@ -1,7 +1,6 @@
{ {
lib, lib,
inputs, inputs,
outputs,
config, config,
pkgs, pkgs,
... ...

View File

@@ -4,7 +4,6 @@
{ {
config, config,
lib, lib,
pkgs,
modulesPath, modulesPath,
... ...
}: }:

View File

@@ -1,7 +1,6 @@
{ {
lib, lib,
inputs, inputs,
outputs,
config, config,
pkgs, pkgs,
... ...

View File

@@ -4,7 +4,6 @@
{ {
config, config,
lib, lib,
pkgs,
modulesPath, modulesPath,
... ...
}: }:

View File

@@ -2,9 +2,7 @@
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ {
config,
lib, lib,
pkgs,
modulesPath, modulesPath,
... ...
}: }:

View File

@@ -1,7 +1,6 @@
{ {
lib, lib,
inputs, inputs,
outputs,
config, config,
pkgs, pkgs,
... ...

View File

@@ -2,9 +2,7 @@
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ {
config,
lib, lib,
pkgs,
modulesPath, modulesPath,
... ...
}: }:

View File

@@ -1,5 +1,3 @@
{ config, pkgs, ... }:
{ {
services.xserver = { services.xserver = {
displayManager.gdm.enable = true; displayManager.gdm.enable = true;

View File

@@ -3,7 +3,7 @@
with pkgs; with pkgs;
let let
tools = interception-tools; tools = interception-tools;
caps2esc = interception-tools-plugins.caps2esc; inherit (interception-tools-plugins) caps2esc;
in in
{ {
services.interception-tools = { services.interception-tools = {

View File

@@ -1,5 +1,3 @@
{ pkgs, ... }:
{ {
# services.avahi = { # services.avahi = {
# enable = true; # enable = true;

View File

@@ -1,5 +1,3 @@
{ pkgs, ... }:
{ {
users.users.h = { users.users.h = {
isNormalUser = true; isNormalUser = true;

View File

@@ -2,6 +2,5 @@
{ {
dirNames = dirNames =
path: path: builtins.attrNames (lib.filterAttrs (_: type: type == "directory") (builtins.readDir path));
builtins.attrNames (lib.filterAttrs (name: type: type == "directory") (builtins.readDir path));
} }