remove all unecessary imports for cleaner code :)

This commit is contained in:
Lillian Violet 2024-10-28 00:17:05 +01:00
parent 441a7dcb60
commit 415903451f
74 changed files with 52 additions and 390 deletions

View file

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

View file

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

View file

@ -3,8 +3,6 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {

View file

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

View file

@ -2,9 +2,7 @@
inputs,
outputs,
lib,
config,
pkgs,
nixpkgs-stable,
...
}: {
imports = [

View file

@ -2,9 +2,7 @@
inputs,
outputs,
lib,
config,
pkgs,
nixpkgs-stable,
...
}: {
imports = [

View file

@ -2,9 +2,7 @@
inputs,
outputs,
lib,
config,
pkgs,
nixpkgs-stable,
...
}: {
imports = [

View file

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

View file

@ -1,11 +1,4 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
{pkgs, ...}: {
services.udev.extraRules = ''
KERNEL=="sd[a-z]|sd[a-z][0-9]", ACTION=="add", RUN+="${pkgs.systemd}/bin/systemctl start --no-block external-drive-mount@%k.service"
KERNEL=="sd[a-z]|sd[a-z][0-9]", ACTION=="remove", RUN+="${pkgs.systemd}/bin/systemctl stop --no-block external-drive-mount@%k.service"

View file

@ -2,7 +2,6 @@
inputs,
outputs,
lib,
config,
pkgs,
...
}: {

View file

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

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{pkgs, ...}: {
boot.kernelPatches = [
rec {
name = "compat_uts_machine";

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,
...
}: {