Comments (15)
Oh okay, in that case it may be tricky. If you want, just go inside of your template's apps/aarch64-darwin
directory and change create-keys
to this:
from nixos-config.
Oops, this was my fault. Can you try again with the latest?
from nixos-config.
Hey, if you get this running okay, can you let me know? I'd love to add 'M3 Apple Silicon' to my list of confirmed working platforms. Thanks!
from nixos-config.
Also both methods for installing Nix should work. I prefer the Determinate Systems installer as it details an easier uninstall path for users.
from nixos-config.
I think we need to chmod +x the create-keys app. I missed that in the documentation.
So,
chmod +x apps/aarch64-darwin/apply && chmod +x apps/aarch64-darwin/build && chmod +x apps/aarch64-darwin/build-switch && chmod +x apps/aarch64-darwin/create-keys && chmod +x apps/aarch64-darwin/copy-keys && chmod +x apps/aarch64-darwin/check-keys
from nixos-config.
Actually, one second, I think it's all keys or no keys. Let me make it work for either key.
from nixos-config.
@dustinlyons
nix run .#build
completed successfully on M3 Max chip. I'd like to spend some time reviewing the changes it will do when I finally (other day) execute nix run .#build-switch
.
Thank you very much for your help today.
from nixos-config.
@dustinlyons I am getting a "permission denied" error when trying to execute nix run .#create-keys
:
nix run .#create-keys
Running create-keys for aarch64-darwin
/nix/store/njzb67j6a7wjhjvv1gapi2ng6rvj74h3-create-keys/bin/create-keys: line 4: /nix/store/dk7cnim2pcw3mxrirz5y6k6jyjxby86a-source/apps/aarch64-darwin/create-keys: Permission denied
/nix/store/njzb67j6a7wjhjvv1gapi2ng6rvj74h3-create-keys/bin/create-keys: line 4: exec: /nix/store/dk7cnim2pcw3mxrirz5y6k6jyjxby86a-source/apps/aarch64-darwin/create-keys: cannot execute: Undefined error: 0
Is it necessary to use sudo
?
Edit: I tried with sudo
, and it didn't work neither (I guess this was expected, and sudo
shouldn't be used).
I've been trying to start with nix and flakes on my machine without success, since yesterday. This is not the first template I've tried.
Should I try uninstalling everything and restart? Maybe I have garbage after the first try...
from nixos-config.
That did the trick.
However, I decided to not overwrite my already existing id_ed25519
key pair. Is it possible to keep that but generate the id_ed25519_agenix
.
Sorry if I am asking too much, or something that is not possible. It's just that I already have keys that identify me, I just don't have the last one ending in _agenix
.
from nixos-config.
I love all of these questions! I don't get to talk to users of this project enough, so this is really helpful for me.
I (er.. ChatGPT 😂) updated the app to first check for keys and give the user an interactive prompt; try now.
from nixos-config.
Okay, try now.
from nixos-config.
@dustinlyons
Sorry for the noob question. I've already modified the template, how do I pull the most recent changes to the template (quickly) without throwing away my work?
Edit: Also, is there a discord, irc channel, or somewhere else we could have a more convenient interchange of words?
from nixos-config.
I'm on freenode
IRC if you want to jump in and chat. Channel is #nixos-config
.
from nixos-config.
@dustinlyons Are you on freenode or liberachat? Just making sure.
from nixos-config.
@oscarvarto I'm on freenode
in #nixos-config
.
from nixos-config.
Related Issues (20)
- installation not working when device is not named /dev/nvme* HOT 15
- chmod hack in `darwin-build` seems to be unnecessary HOT 2
- Installation issues on Linux HOT 6
- Fresh install issues HOT 25
- Define user context in `flake.nix` and refactor install scripts
- MacOS M2 - install issue HOT 11
- Fix chmod command in README
- Question [Help] HOT 11
- Issue with Adding Homebrew Tap HOT 5
- dustinlyons/nix-secrets.git dependency HOT 6
- NixOS install `./bin/apply: No such file or directory` HOT 8
- Installation issue on NixOS with xvda boot disk HOT 3
- Installed new NixOS install using this repo, no GUI on reboot HOT 13
- macOS - User does not own "system" or "default" profile HOT 8
- error: selector 'bash' matches no derivations HOT 21
- Purpose of mail and name? HOT 2
- Networking wireless device fails to start HOT 3
- How to upgrade everything installed (Mac OSX Sonoma)? HOT 6
- Add -b backup to `home-manager switch` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nixos-config.