Skip to content

Commit

Permalink
readme typo fix (#1)
Browse files Browse the repository at this point in the history
* Cleaned up and removed comments

* Added neofetch and bat to the packages

* Added biometric authentication for sudo

* Disabled mouse acceleration

* Set dock to autohide

* Fixed a typo from Githug -> Github
  • Loading branch information
EthanJ-Brady authored Oct 11, 2024
1 parent fb1dbe9 commit cfe9ec8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### MacOS

[Nix Darwin Githug Repo](https://github.com/LnL7/nix-darwin/blob/master/README.md)
[Nix Darwin Github Repo](https://github.com/LnL7/nix-darwin/blob/master/README.md)

1. Install Nix

Expand Down
24 changes: 15 additions & 9 deletions hosts/macbook-air/configuration.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
{ pkgs, ... }:

{
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages =
[ pkgs.vim
];
environment.systemPackages = with pkgs; [
vim
neofetch
bat
];

# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
# nix.package = pkgs.nix;

# Necessary for using flakes on this system.
nix.settings.experimental-features = "nix-command flakes";

# Create /etc/zshrc that loads the nix-darwin environment.
programs.zsh.enable = true; # default shell on catalina
# programs.fish.enable = true;
programs.zsh.enable = true;

# Allow sudo commands to be run with biometrics
security.pam.enableSudoTouchIdAuth = true;

# Disable mouse acceleration
system.defaults.".GlobalPreferences"."com.apple.mouse.scaling" = -1.0;

# Set the dock to automatically hide
system.defaults.dock.autohide = true;

# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
system.stateVersion = 5;

# The platform the configuration will be used on.
Expand Down

0 comments on commit cfe9ec8

Please sign in to comment.