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 = [

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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