Skip to content

Commit

Permalink
nix: Update nano configuration with hostname and system preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
yousiki committed Nov 22, 2024
1 parent 5e50114 commit decbed6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions systems/aarch64-darwin/nano/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
{pkgs, ...}: {
# Set the hostname and computer name
networking.hostName = "nano";
networking.computerName = "YouSiki's Nano";

# Add ability to used TouchID for sudo authentication
security.pam.enableSudoTouchIdAuth = true;

# System configurations
system.defaults.NSGlobalDomain.ApplePressAndHoldEnabled = false;
system.defaults.NSGlobalDomain.AppleShowAllExtensions = true;
system.defaults.dock.show-recents = false;
system.defaults.dock.tilesize = 48;
system.defaults.finder.QuitMenuItem = true;
system.defaults.finder.ShowPathbar = true;
system.defaults.finder.ShowStatusBar = true;
system.defaults.trackpad.Clicking = true;
system.defaults.trackpad.TrackpadThreeFingerDrag = true;

environment.systemPackages = with pkgs; [
alejandra
];
Expand Down

0 comments on commit decbed6

Please sign in to comment.