config: remove duplicate config

This commit is contained in:
Gabriel Arazas 2023-11-08 20:46:12 +08:00
parent a90e123fbb
commit ea278d3ef9
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -297,11 +297,6 @@
# again. # again.
nix.package = pkgs.nixUnstable; 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. # Set the configurations for the package manager.
nix.settings = nix.settings =
let let
@ -401,6 +396,10 @@
# Stallman-senpai will be disappointed. :/ # Stallman-senpai will be disappointed. :/
nixpkgs.config.allowUnfree = true; 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. # Setting the homely options.
home.username = name; home.username = name;
home.homeDirectory = metadata.home-directory or "/home/${config.home.username}"; home.homeDirectory = metadata.home-directory or "/home/${config.home.username}";