Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeffa5/nix-home
https://github.com/jeffa5/nix-home
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jeffa5/nix-home
- Owner: jeffa5
- License: gpl-3.0
- Created: 2023-01-24T11:18:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-11T20:57:29.000Z (7 months ago)
- Last Synced: 2024-04-12T09:12:24.667Z (7 months ago)
- Language: Nix
- Size: 563 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# My nix/nixos config
Install nix: https://nixos.org/download.html#download-nix
```sh
sh <(curl -L https://nixos.org/nix/install) --daemon
```Set up a home profile:
```sh
nix run --extra-experimental-features "nix-command flakes" nixpkgs#home-manager -- --extra-experimental-features "nix-command flakes" switch --flake github:jeffa5/nix-home#apj39-tui
```After installing a system, use `make nvd` to show the diff in an upgrade.
## Deploying to remote system
To deploy to a remote system (assuming password-less authentication):
```sh
nixos-rebuild switch .# --build-host root@ --target-host root@ --fast
```## Raspberry Pi
The guide is here: https://nix.dev/tutorials/nixos/installing-nixos-on-a-raspberry-pi
In particular the updating firmware section is useful.