From ea278d3ef9e47dc910391ec34f8a660b2785f1d5 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 8 Nov 2023 20:46:12 +0800 Subject: [PATCH] config: remove duplicate config --- flake.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 16e2176a..58f3e238 100644 --- a/flake.nix +++ b/flake.nix @@ -297,11 +297,6 @@ # again. nix.package = pkgs.nixUnstable; - # Find Nix files with these! Even if nix-index is already enabled, it - # is better to make it explicit. - programs.command-not-found.enable = false; - programs.nix-index.enable = true; - # Set the configurations for the package manager. nix.settings = let @@ -401,6 +396,10 @@ # Stallman-senpai will be disappointed. :/ nixpkgs.config.allowUnfree = true; + # Find Nix files with these! Even if nix-index is already enabled, it + # is better to make it explicit. + programs.nix-index.enable = true; + # Setting the homely options. home.username = name; home.homeDirectory = metadata.home-directory or "/home/${config.home.username}";