Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thekorn/nix-config
nix based configuration
https://github.com/thekorn/nix-config
Last synced: about 2 months ago
JSON representation
nix based configuration
- Host: GitHub
- URL: https://github.com/thekorn/nix-config
- Owner: thekorn
- Created: 2023-03-04T12:16:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T22:28:50.000Z (3 months ago)
- Last Synced: 2024-10-25T05:15:42.055Z (3 months ago)
- Language: Shell
- Size: 546 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# config using nix and flake
This is the config for my machines.
## prerequisits
* git
* homebrew```
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```* clone this repository
```
$ git clone https://github.com/thekorn/nix-config.git .config/nix
```* install nix
```
$ sh <(curl -L https://nixos.org/nix/install)
``````
$ cd .config/nix
$ nix build .#darwinConfigurations.demoVM.system --extra-experimental-features "nix-command flakes"# the plan is to now run this to install nix-darwin with our configuration
# ./result/sw/bin/darwin-rebuild switch --flake .#demoVM # this will fail as we first have to do the following lines$ printf 'run\tprivate/var/run\n' | sudo tee -a /etc/synthetic.conf
$ /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -t# now we can finally darwin-rebuild
$ ./result/sw/bin/darwin-rebuild switch --flake .#demoVM
```## reference
* https://github.com/thexyno/blogpages.git
* https://daiderd.com/nix-darwin/manual/index.html
* https://nix-community.github.io/home-manager/options.html
* https://codeberg.org/imMaturana/dotfiles
* https://github.com/schickling/dotfiles