From 3f3344716b98ff8300e57d16885be9f6e0eec51e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 6 May 2024 12:40:17 +0200 Subject: Fix some statix warnings --- flake.nix | 4 ++-- nixos/modules/desktop.nix | 2 +- nixos/modules/packages.nix | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index a3b18ad..daf69b4 100644 --- a/flake.nix +++ b/flake.nix @@ -4,7 +4,7 @@ inputs = { nixpkgs.url = "nixpkgs/nixos-unstable"; nixos-hardware.url = "nixos-hardware"; - nixdeploy.url = "gitlab:cynerd/nixdeploy"; + nixdeploy.url = "gitlab:cynerd/nixosdeploy"; personal-secret.url = "git+ssh://git@cynerd.cz/nixos-personal-secret"; shellrc.url = "git+https://git.cynerd.cz/shellrc"; @@ -35,7 +35,7 @@ in { overlays = { - lib = final: prev: import ./lib prev; + lib = _: prev: import ./lib prev; pkgs = final: prev: import ./pkgs final prev; default = nixpkgs.lib.composeManyExtensions [ agenix.overlays.default diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix index 62e7fb2..f6cfba5 100644 --- a/nixos/modules/desktop.nix +++ b/nixos/modules/desktop.nix @@ -4,7 +4,7 @@ pkgs, ... }: let - inherit (lib) mkOption mkIf mkDefault types optionals; + inherit (lib) mkOption mkIf types optionals; cnf = config.cynerd.desktop; in { options = { diff --git a/nixos/modules/packages.nix b/nixos/modules/packages.nix index f880dbd..0eb64e6 100644 --- a/nixos/modules/packages.nix +++ b/nixos/modules/packages.nix @@ -69,7 +69,6 @@ in { lm_sensors - ncdu ] ++ optionals (system == "x86_64-linux") [ nmap @@ -79,6 +78,7 @@ in { ncdu_1 ] ++ optionals isNative [ + ncdu moreutils glances mlocate -- cgit v1.2.3