From 23fe41c671e4a7e72fe5f365e9561e8fee2a2b86 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Thu, 27 Jul 2023 14:19:06 +0200 Subject: [PATCH] Used deadnix to clean-up code --- flake.nix | 2 -- modules/audio/default.nix | 2 +- modules/bluetooth/default.nix | 2 +- modules/minecraft-server/default.nix | 2 +- modules/steam/default.nix | 2 +- modules/users/jopejoe1/home.nix | 2 +- overlays/default.nix | 6 +++--- systems/kami/hardware.nix | 2 +- systems/yokai/hardware.nix | 2 +- 9 files changed, 10 insertions(+), 12 deletions(-) diff --git a/flake.nix b/flake.nix index 62d2541..88a9f3e 100644 --- a/flake.nix +++ b/flake.nix @@ -30,10 +30,8 @@ }; outputs = inputs@{ - self, nixpkgs, home-manager, - prismlauncher, nur, nixos-hardware, ... diff --git a/modules/audio/default.nix b/modules/audio/default.nix index f3876dc..461ed5c 100644 --- a/modules/audio/default.nix +++ b/modules/audio/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ ... }: { security.rtkit.enable = true; diff --git a/modules/bluetooth/default.nix b/modules/bluetooth/default.nix index 19c09fd..23d8b0d 100644 --- a/modules/bluetooth/default.nix +++ b/modules/bluetooth/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ ... }: { hardware.bluetooth.enable = true; diff --git a/modules/minecraft-server/default.nix b/modules/minecraft-server/default.nix index 24fb023..d212432 100644 --- a/modules/minecraft-server/default.nix +++ b/modules/minecraft-server/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ ... }: { services.minecraft-server = { diff --git a/modules/steam/default.nix b/modules/steam/default.nix index ea1a446..0e87f57 100644 --- a/modules/steam/default.nix +++ b/modules/steam/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ ... }: { hardware.steam-hardware.enable = true; diff --git a/modules/users/jopejoe1/home.nix b/modules/users/jopejoe1/home.nix index cc91f22..a612e9e 100644 --- a/modules/users/jopejoe1/home.nix +++ b/modules/users/jopejoe1/home.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, ... }: +{ config, pkgs, ... }: let hcfg = config.home-manager.users.jopejoe1; in { diff --git a/overlays/default.nix b/overlays/default.nix index 26171b9..64baae5 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -1,4 +1,4 @@ -{ pkgs, prismlauncher, nur, self, ... }: +{ prismlauncher, nur, self, ... }: { nixpkgs = { @@ -8,9 +8,9 @@ prismlauncher.overlays.default nur.overlay - (slef: super: { + (_self: super: { - tela-icon-theme = super.tela-icon-theme.overrideAttrs (old: { + tela-icon-theme = super.tela-icon-theme.overrideAttrs (_old: { src = self.inputs.tela-icon-theme; }); diff --git a/systems/kami/hardware.nix b/systems/kami/hardware.nix index d2b31e8..f6844c3 100644 --- a/systems/kami/hardware.nix +++ b/systems/kami/hardware.nix @@ -1,7 +1,7 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: +{ config, lib, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") diff --git a/systems/yokai/hardware.nix b/systems/yokai/hardware.nix index b446c61..9003cd5 100644 --- a/systems/yokai/hardware.nix +++ b/systems/yokai/hardware.nix @@ -1,7 +1,7 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: +{ lib, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix")