mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-29 22:01:58 +02:00
feat: nix fmt
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
{pkgs, config, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
##########################################################################
|
||||
#
|
||||
# Install all apps and packages here.
|
||||
@@ -20,12 +24,12 @@
|
||||
neovim
|
||||
git
|
||||
nushell # my custom shell
|
||||
gnugrep # replacee macos's grep
|
||||
gnugrep # replacee macos's grep
|
||||
gnutar # replacee macos's tar
|
||||
];
|
||||
environment.variables = {
|
||||
# Fix https://github.com/LnL7/nix-darwin/wiki/Terminfo-issues
|
||||
TERMINFO_DIRS = map (path: path + "/share/terminfo") config.environment.profiles ++ [ "/usr/share/terminfo" ];
|
||||
TERMINFO_DIRS = map (path: path + "/share/terminfo") config.environment.profiles ++ ["/usr/share/terminfo"];
|
||||
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
@@ -24,10 +24,10 @@
|
||||
|
||||
# customize dock
|
||||
dock = {
|
||||
autohide = true; # automatically hide and show the dock
|
||||
autohide = true; # automatically hide and show the dock
|
||||
show-recents = false; # do not show recent apps in dock
|
||||
# do not automatically rearrange spaces based on most recent use.
|
||||
mru-spaces = false;
|
||||
# do not automatically rearrange spaces based on most recent use.
|
||||
mru-spaces = false;
|
||||
|
||||
# customize Hot Corners(触发角, 鼠标移动到屏幕角落时触发的动作)
|
||||
wvous-tl-corner = 2; # top-left - Mission Control
|
||||
@@ -158,7 +158,7 @@
|
||||
# will change to `fonts.packages` after this PR is merged:
|
||||
# https://github.com/LnL7/nix-darwin/pull/754
|
||||
fonts = with pkgs; [
|
||||
# packages = with pkgs; [
|
||||
# packages = with pkgs; [
|
||||
# icon fonts
|
||||
material-design-icons
|
||||
font-awesome
|
||||
|
||||
Reference in New Issue
Block a user