first macos attempt
This commit is contained in:
@@ -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 = [
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
|
||||
# since darwin needs root now (will be removed in future)
|
||||
system.primaryUser = "bhelderman"
|
||||
system.primaryUser = "bhelderman";
|
||||
|
||||
power = {
|
||||
sleep = {
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
./syncthing
|
||||
./yubikey
|
||||
./work
|
||||
./apps
|
||||
# ./sops
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user