removed unneeded imports etc.

This commit is contained in:
KoenDR06 2025-07-18 15:05:26 +02:00
parent f62f6ad376
commit b7d7514928
47 changed files with 39 additions and 157 deletions

View file

@ -1,9 +1,4 @@
{ {
inputs,
outputs,
lib,
config,
pkgs,
... ...
}: { }: {
imports = [ imports = [

View file

@ -1,9 +1,4 @@
{ {
inputs,
outputs,
lib,
config,
pkgs,
... ...
}: { }: {
imports = [ imports = [

View file

@ -1,9 +1,4 @@
{ {
inputs,
outputs,
lib,
config,
pkgs,
... ...
}: { }: {
imports = [ imports = [

View file

@ -1,9 +1,4 @@
{ {
inputs,
outputs,
lib,
config,
pkgs,
... ...
}: { }: {
imports = [ imports = [

View file

@ -1,9 +1,4 @@
{ {
inputs,
outputs,
lib,
config,
pkgs,
... ...
}: { }: {
imports = [ imports = [

View file

@ -1,9 +1,4 @@
{ {
inputs,
outputs,
lib,
config,
pkgs,
... ...
}: { }: {
imports = [ imports = [

View file

@ -1,4 +1,4 @@
{inputs, ...}: { {...}: {
imports = [ imports = [
./dev.nix ./dev.nix

View file

@ -1,14 +1,11 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs, pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.apps.dev; cfg = config.horseman.apps.dev;
homeCfg = config.horseman;
in { in {
options = { options = {
horseman.apps.dev = { horseman.apps.dev = {

View file

@ -1,12 +1,10 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs, pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.apps.server; cfg = config.horseman.apps.server;
in { in {
options = { options = {

View file

@ -1,12 +1,10 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs, pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.apps.terminal; cfg = config.horseman.apps.terminal;
homeCfg = config.horseman; homeCfg = config.horseman;
in { in {

View file

@ -1,7 +1,4 @@
{ {
config,
lib,
pkgs,
... ...
}: { }: {
programs.helix = { programs.helix = {

View file

@ -1,5 +1,4 @@
{ {
config,
lib, lib,
pkgs, pkgs,
... ...

View file

@ -1,14 +1,11 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs, pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.apps.visual; cfg = config.horseman.apps.visual;
homeCfg = config.horseman;
in { in {
options = { options = {
horseman.apps.visual = { horseman.apps.visual = {

View file

@ -1,22 +1,15 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.apps.visual.firefox; cfg = config.horseman.apps.visual.firefox;
lock-false = { lock-false = {
Value = false; Value = false;
Status = "locked"; Status = "locked";
}; };
lock-true = {
Value = true;
Status = "locked";
};
in { in {
options = { options = {
horseman.apps.visual.firefox = { horseman.apps.visual.firefox = {

View file

@ -1,4 +1,4 @@
{inputs, ...}: { {...}: {
imports = [ imports = [
./nix.nix ./nix.nix
./locale.nix ./locale.nix

View file

@ -1,12 +1,9 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.base.locale; cfg = config.horseman.base.locale;
in { in {
options = { options = {

View file

@ -1,12 +1,11 @@
{ {
inputs, inputs,
outputs,
lib, lib,
config, config,
pkgs, pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.base.nix; cfg = config.horseman.base.nix;
in { in {
options = { options = {

View file

@ -1,4 +1,4 @@
{inputs, ...}: { {...}: {
imports = [ imports = [
./greeter/sddm.nix ./greeter/sddm.nix
./greeter/gdm.nix ./greeter/gdm.nix

View file

@ -1,12 +1,9 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.boot.greeter.cosmic; cfg = config.horseman.boot.greeter.cosmic;
in { in {
options = { options = {

View file

@ -1,12 +1,9 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.boot.greeter.gdm; cfg = config.horseman.boot.greeter.gdm;
in { in {
options = { options = {

View file

@ -1,12 +1,9 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.boot.greeter.sddm; cfg = config.horseman.boot.greeter.sddm;
in { in {
options = { options = {

View file

@ -1,12 +1,9 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.boot.loader.grub; cfg = config.horseman.boot.loader.grub;
in { in {
options = { options = {

View file

@ -1,12 +1,9 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.boot.loader.systemd; cfg = config.horseman.boot.loader.systemd;
in { in {
options = { options = {

View file

@ -1,12 +1,10 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs, pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.boot.refind; cfg = config.horseman.boot.refind;
in { in {
options = { options = {

View file

@ -1,4 +1,4 @@
{inputs, ...}: { {...}: {
imports = [ imports = [
./apps ./apps
./hardware ./hardware

View file

@ -1,12 +1,9 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.hardware.audio; cfg = config.horseman.hardware.audio;
in { in {
options = { options = {

View file

@ -1,12 +1,9 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.hardware.bluetooth; cfg = config.horseman.hardware.bluetooth;
in { in {
options = { options = {

View file

@ -1,4 +1,4 @@
{inputs, ...}: { {...}: {
imports = [ imports = [
./audio.nix ./audio.nix
./bluetooth.nix ./bluetooth.nix

View file

@ -1,12 +1,9 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.hardware.gpu.nvidia; cfg = config.horseman.hardware.gpu.nvidia;
in { in {
options = { options = {

View file

@ -1,12 +1,9 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.hardware.wifi; cfg = config.horseman.hardware.wifi;
in { in {
options = { options = {

View file

@ -1,4 +1,4 @@
{inputs, ...}: { {...}: {
imports = [ imports = [
./mullvad.nix ./mullvad.nix
./ssh.nix ./ssh.nix

View file

@ -1,12 +1,10 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs, pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.network.mullvad; cfg = config.horseman.network.mullvad;
in { in {
options = { options = {

View file

@ -1,12 +1,9 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.network.ssh; cfg = config.horseman.network.ssh;
in { in {
options = { options = {

View file

@ -1,12 +1,9 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.network.syncthing; cfg = config.horseman.network.syncthing;
in { in {
options = { options = {

View file

@ -1,12 +1,9 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.network.tailscale; cfg = config.horseman.network.tailscale;
in { in {
options = { options = {

View file

@ -1,4 +1,4 @@
{inputs, ...}: { {...}: {
imports = [ imports = [
./zsh.nix ./zsh.nix
]; ];

View file

@ -1,12 +1,10 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs, pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.terminal.zsh; cfg = config.horseman.terminal.zsh;
in { in {
options = { options = {

View file

@ -1,14 +1,10 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.timers.backup; cfg = config.horseman.timers.backup;
homeCfg = config.horseman;
in { in {
options = { options = {
horseman.timers.backup = { horseman.timers.backup = {

View file

@ -1,4 +1,4 @@
{inputs, ...}: { {...}: {
imports = [ imports = [
./wol.nix ./wol.nix
./backup.nix ./backup.nix

View file

@ -1,14 +1,10 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.timers.wol; cfg = config.horseman.timers.wol;
homeCfg = config.horseman;
in { in {
options = { options = {
horseman.timers.wol = { horseman.timers.wol = {

View file

@ -1,13 +1,8 @@
{ {
inputs,
outputs,
lib, lib,
config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkOption types;
cfg = config.horseman;
in { in {
options = { options = {
horseman = { horseman = {

View file

@ -3,10 +3,9 @@
outputs, outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.users.default; cfg = config.horseman.users.default;
homeCfg = config.horseman; homeCfg = config.horseman;
in { in {

View file

@ -1,12 +1,9 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.wm.cosmic; cfg = config.horseman.wm.cosmic;
in { in {
options = { options = {

View file

@ -1,4 +1,4 @@
{inputs, ...}: { {...}: {
imports = [ imports = [
./gnome ./gnome
./plasma ./plasma

View file

@ -1,4 +1,4 @@
{pkgs, ...}: { {...}: {
dconf.settings = { dconf.settings = {
"org/gnome/desktop/peripherals/touchpad" = { "org/gnome/desktop/peripherals/touchpad" = {
natural-scroll = false; natural-scroll = false;

View file

@ -1,12 +1,10 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs, pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.wm.gnome; cfg = config.horseman.wm.gnome;
homeCfg = config.horseman; homeCfg = config.horseman;
in { in {

View file

@ -1,12 +1,10 @@
{ {
inputs,
outputs,
lib, lib,
config, config,
pkgs, pkgs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf mkOption types; inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.wm.plasma; cfg = config.horseman.wm.plasma;
homeCfg = config.horseman; homeCfg = config.horseman;
in { in {