17 lines
469 B
Nix
17 lines
469 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
# use flakes and nix command
|
|
nix.settings.experimental-features = [ "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";
|
|
}
|