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 =
{
self,
nixpkgs,
nixCats,
...
@@ -50,7 +49,7 @@
mkDependencyOverlays = system: [
(utils.standardPluginOverlay inputs)
(final: prev: {
(_final: _prev: {
mcp-hub = inputs.mcp-hub.packages.${system}.default;
})
];

View File

@@ -2,10 +2,10 @@ local autocmd = vim.api.nvim_create_autocmd
autocmd("BufNewFile", {
pattern = "shell.nix",
command = "0r ~/.config/nvim/skeletons/shell.nix",
command = "0r ~/.config/nvim/skeletons/shell.nix.skeleton",
})
autocmd("BufNewFile", {
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,
inputs,
config,
pkgs,
...

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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