From 5a1181e878cbfd492be01f0989b38a7b79888dd5 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 16 Sep 2023 07:52:57 +0000 Subject: [PATCH] nobody uses unity anymore lmao --- modules/dev/default.nix | 1 - modules/dev/editors/emacs/default.nix | 17 +++++++++++------ modules/dev/unityhub.nix | 16 ---------------- 3 files changed, 11 insertions(+), 23 deletions(-) delete mode 100644 modules/dev/unityhub.nix diff --git a/modules/dev/default.nix b/modules/dev/default.nix index 367651af..990d6550 100644 --- a/modules/dev/default.nix +++ b/modules/dev/default.nix @@ -5,7 +5,6 @@ ./javascript.nix ./python.nix ./rust.nix - ./unityhub.nix ./nixd.nix ./nil.nix ./lua.nix diff --git a/modules/dev/editors/emacs/default.nix b/modules/dev/editors/emacs/default.nix index baed7bf9..8049de8e 100644 --- a/modules/dev/editors/emacs/default.nix +++ b/modules/dev/editors/emacs/default.nix @@ -1,9 +1,14 @@ -{ outputs, options, config, lib, pkgs, ...}: -with lib; -let - cfg = config.modules.dev.editors.emacs; -in { + outputs, + options, + config, + lib, + pkgs, + ... +}: +with lib; let + cfg = config.modules.dev.editors.emacs; +in { options.modules.dev.editors.emacs = { enable = mkEnableOption false; }; @@ -21,7 +26,7 @@ in recursive = true; }; fonts.fonts = with pkgs; [ - (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) + (nerdfonts.override {fonts = ["JetBrainsMono"];}) ]; }; } diff --git a/modules/dev/unityhub.nix b/modules/dev/unityhub.nix deleted file mode 100644 index ea370f0d..00000000 --- a/modules/dev/unityhub.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ outputs, options, config, lib, pkgs, ...}: -with lib; -let - cfg = config.modules.dev.unity; -in -{ - options.modules.dev.unity = { - enable = mkEnableOption false; - }; - - config = mkIf cfg.enable { - users.users.sako.packages = with pkgs; [ - unityhub - ]; - }; -}