Files
nixconfig/modules/nixos/settings.nix

17 lines
468 B
Nix

{ config, lib, pkgs, ... }:
{
# use flakes and nix command
nix.settings.experimental-feature = [ "nix-command" "flakes" ];
# links /libexec from derivations to /run/current-system/sw
environment.pathsToLink = [ "/libexec" ];
# set the default editor to vim
environment.variables.EDITOR = "vim";
# enable home-manager globally
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.backupFileExtension = "backup";
}