Skip to content

Commit e7ebef6

Browse files
committed
unstable nix-darwin & home-manager
1 parent aefa651 commit e7ebef6

File tree

5 files changed

+57
-17
lines changed

5 files changed

+57
-17
lines changed

darwin-modules/nix.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,5 @@
4545
];
4646
};
4747

48-
services.nix-daemon.enable = true;
49-
5048
system.stateVersion = 4;
5149
}

darwin-modules/tiling-wm.nix

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,45 @@
5656
'';
5757
};
5858
};
59+
60+
system = {
61+
defaults = {
62+
NSGlobalDomain = {
63+
"com.apple.trackpad.forceClick" = false;
64+
NSAutomaticQuoteSubstitutionEnabled = false;
65+
NSAutomaticSpellingCorrectionEnabled = false;
66+
InitialKeyRepeat = 15;
67+
KeyRepeat = 2;
68+
AppleShowAllExtensions = true;
69+
AppleShowAllFiles = true;
70+
AppleShowScrollBars = "Always";
71+
ApplePressAndHoldEnabled = false;
72+
_HIHideMenuBar = true;
73+
};
74+
LaunchServices.LSQuarantine = false;
75+
ActivityMonitor.ShowCategory = 100;
76+
trackpad = {
77+
ActuationStrength = 0;
78+
Clicking = false;
79+
TrackpadThreeFingerTapGesture = 0;
80+
};
81+
universalaccess = {
82+
closeViewScrollWheelToggle = true;
83+
reduceMotion = true;
84+
reduceTransparency = false;
85+
};
86+
finder = {
87+
ShowPathbar = true;
88+
ShowStatusBar = true;
89+
};
90+
dock = {
91+
autohide = true;
92+
};
93+
};
94+
keyboard = {
95+
enableKeyMapping = true;
96+
nonUS.remapTilde = true;
97+
remapCapsLockToEscape = true;
98+
};
99+
};
59100
}

darwin-modules/user-peteresselius.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
{
44
users.users.peteresselius = {
5+
uid = 501;
56
description = "Peter Esselius";
67
home = "/Users/peteresselius";
78
shell = pkgs.fish;
@@ -13,4 +14,6 @@
1314

1415
programs.fish.enable = true;
1516
environment.shells = [ pkgs.fish ];
17+
18+
users.knownUsers = [ "peteresselius" ];
1619
}

flake.lock

Lines changed: 10 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
1212
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
13-
nixpkgs-darwin.url = "github:NixOS/nixpkgs/nixpkgs-24.11-darwin";
13+
nixpkgs-darwin.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
1414

1515
# cfg-work.url = "github:esselius/cfg-work";
1616
raspberry-pi-nix.url = "github:tstat/raspberry-pi-nix/v0.4.1";
@@ -21,9 +21,9 @@
2121
inputs.flake-parts.follows = "flake-parts";
2222
};
2323

24-
nix-darwin.url = "github:lnl7/nix-darwin/nix-darwin-24.11";
24+
nix-darwin.url = "github:lnl7/nix-darwin";
2525
nix-darwin.inputs.nixpkgs.follows = "nixpkgs-darwin";
26-
home-manager.url = "github:nix-community/home-manager/release-24.11";
26+
home-manager.url = "github:nix-community/home-manager";
2727
home-manager.inputs.nixpkgs.follows = "nixpkgs";
2828
nix-homebrew = {
2929
url = "github:zhaofengli/nix-homebrew";

0 commit comments

Comments
 (0)