aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-05-06 12:40:17 +0200
committerKarel Kočí <cynerd@email.cz>2024-05-06 12:40:17 +0200
commit3f3344716b98ff8300e57d16885be9f6e0eec51e (patch)
tree5cd48ecf5f6f732854da9a7bcb9382212138ffce
parent90947cf469bb15dbcee18fc7c6274420d7cf3c42 (diff)
downloadnixos-personal-3f3344716b98ff8300e57d16885be9f6e0eec51e.tar.gz
nixos-personal-3f3344716b98ff8300e57d16885be9f6e0eec51e.tar.bz2
nixos-personal-3f3344716b98ff8300e57d16885be9f6e0eec51e.zip
Fix some statix warnings
-rw-r--r--flake.nix4
-rw-r--r--nixos/modules/desktop.nix2
-rw-r--r--nixos/modules/packages.nix2
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