Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankelJb authored Oct 18, 2023
1 parent b14700c commit 01db604
Show file tree
Hide file tree
Showing 17 changed files with 10 additions and 21 deletions.
1 change: 0 additions & 1 deletion homes/x86_64-linux/beans@lithium/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib
, config
, pkgs
, ...
}:
let
Expand Down
2 changes: 1 addition & 1 deletion modules/home/cli-apps/neovim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf getExe;
inherit (lib) mkEnableOption mkIf;
inherit (lib.internal) mkBoolOpt;
# inherit (inputs) neovim-config;

Expand Down
1 change: 0 additions & 1 deletion modules/home/desktop/addons/foot/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ config
, lib
, options
, pkgs
, ...
}:
let
Expand Down
2 changes: 1 addition & 1 deletion modules/home/desktop/addons/swayidle/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
, ...
}:
let
inherit (lib) mkIf getExe getExe';
inherit (lib) mkIf getExe';
inherit (lib.internal) mkBoolOpt;

cfg = config.beansnix.desktop.addons.swayidle;
Expand Down
2 changes: 1 addition & 1 deletion modules/home/suites/business/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
...
}: let
inherit (lib) mkIf;
inherit (lib.internal) mkBoolOpt enabled;
inherit (lib.internal) mkBoolOpt;

cfg = config.beansnix.suites.business;
in {
Expand Down
1 change: 0 additions & 1 deletion modules/home/suites/development/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
config,
lib,
options,
inputs,
pkgs,
...
}: let
Expand Down
2 changes: 1 addition & 1 deletion modules/home/suites/music/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}:
let
inherit (lib) mkIf;
inherit (lib.internal) mkBoolOpt enabled;
inherit (lib.internal) mkBoolOpt;

cfg = config.beansnix.suites.music;
in
Expand Down
3 changes: 1 addition & 2 deletions modules/home/suites/social/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
config,
lib,
options,
pkgs,
...
}: let
inherit (lib) mkIf;
inherit (lib.internal) mkBoolOpt enabled;
inherit (lib.internal) mkBoolOpt;

cfg = config.beansnix.suites.social;
in {
Expand Down
1 change: 0 additions & 1 deletion modules/home/system/shell/fish/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, lib
, options
, pkgs
, osConfig
, ...
}:
let
Expand Down
5 changes: 2 additions & 3 deletions modules/home/tools/git/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
config,
lib,
pkgs,
...
}: let
inherit (lib) types mkEnableOption mkIf getExe';
inherit (lib.internal) mkOpt mkBoolOpt enabled;
inherit (lib) types mkEnableOption mkIf;
inherit (lib.internal) mkOpt enabled;
inherit (config.beansnix) user;

cfg = config.beansnix.tools.git;
Expand Down
2 changes: 1 addition & 1 deletion modules/nixos/desktop/gnome/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
, ...
}:
let
inherit (lib) types mkIf mapAttrs optional getExe;
inherit (lib) types mkIf optional;
inherit (lib.internal) mkBoolOpt mkOpt enabled;

cfg = config.beansnix.desktop.gnome;
Expand Down
2 changes: 1 addition & 1 deletion modules/nixos/suites/music/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}:
let
inherit (lib) mkIf;
inherit (lib.internal) mkBoolOpt enabled;
inherit (lib.internal) mkBoolOpt;

cfg = config.beansnix.suites.music;
in
Expand Down
1 change: 0 additions & 1 deletion modules/nixos/suites/social/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
config,
lib,
options,
pkgs,
...
}: let
inherit (lib) mkIf;
Expand Down
1 change: 0 additions & 1 deletion modules/nixos/system/networking/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
config,
lib,
options,
pkgs,
...
}: let
inherit (lib) types mkIf;
Expand Down
1 change: 0 additions & 1 deletion systems/x86_64-linux/helium/hardware.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# to /etc/nixos/configuration.nix instead.
{ config
, lib
, pkgs
, modulesPath
, ...
}: {
Expand Down
2 changes: 0 additions & 2 deletions systems/x86_64-linux/lithium/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{
config,
pkgs,
lib,
...
}: let
inherit (lib) getExe;
inherit (lib.internal) enabled;
in {
imports = [./hardware.nix];
Expand Down
2 changes: 1 addition & 1 deletion systems/x86_64-linux/lithium/hardware.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,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 =
Expand Down

0 comments on commit 01db604

Please sign in to comment.