diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-05-16 16:42:51 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-05-16 16:42:51 +0200 |
commit | 8bed94a028a88ed03354cba62a0cccaab6dcb61e (patch) | |
tree | 0360a64ea1bfc9c285d5ace0bf27f6f0579e905a /modules/home.legacy | |
parent | flake: Rename `nixVim` input to `nixvim` (diff) | |
download | nixos-config-8bed94a028a88ed03354cba62a0cccaab6dcb61e.zip |
flake: Pack arguments in attribute sets
This avoids having to change 3+ files, if you need to add a new argument.
Diffstat (limited to '')
-rw-r--r-- | modules/home.legacy/default.nix | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/modules/home.legacy/default.nix b/modules/home.legacy/default.nix index fed2ecf6..fd543661 100644 --- a/modules/home.legacy/default.nix +++ b/modules/home.legacy/default.nix @@ -7,13 +7,7 @@ # # You should have received a copy of the License along with this program. # If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. -{ - nixVim, - nix-index-database, - arkenfox-nixos, - config, - ... -}: let +{config, ...}: let inherit (config.home) homeDirectory; # xdg @@ -28,10 +22,6 @@ in { ./conf ./files ./pkgs - - nixVim.homeManagerModules.nixvim - nix-index-database.hmModules.nix-index - arkenfox-nixos.hmModules.arkenfox ]; # I don't know what this does, but I've seen it a lot online, so it should be good, right? |