first macos attempt

This commit is contained in:
2026-04-23 19:11:58 -05:00
parent 8563489682
commit 9f8104e7b8
4 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -112,7 +112,7 @@
};
};
darwinConfigurations = {
CEN-IT-07 = nix-darwin.lib.darwinSystem {
cen-it-07 = nix-darwin.lib.darwinSystem {
system = systems.darwin;
specialArgs = {inherit inputs stable_pkgs unstable_pkgs nix-homebrew;};
modules = [
+1 -1
View File
@@ -24,7 +24,7 @@
# since darwin needs root now (will be removed in future)
system.primaryUser = "bhelderman"
system.primaryUser = "bhelderman";
power = {
sleep = {
+6
View File
@@ -8,6 +8,12 @@
/*
instructions for first time setup for macos here
1. install the nix package manager with: `sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install)`
2. xfer or git clone flake to ~/.nix
3. sign into icloud and by extension app store for mas
4. rename some shell rc files with `sudo mv /etc/bashrc /etc/bashrc.before-nix-darwin && sudo mv /etc/zshrc /etc/zshrc.before-nix-darwin`
5. install nix-darwin with: `nix run --extra-experimental-features "nix-command flakes" nix-darwin -- switch --flake ~/.nix#host`
6. nh should be installed now so enjoy and use `nh darwin switch`
*/
imports = [
+1
View File
@@ -10,6 +10,7 @@
./syncthing
./yubikey
./work
./apps
# ./sops
];