Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suasuasuasuasua/nixos-config
My NixOS configuration
https://github.com/suasuasuasuasua/nixos-config
nixos nixos-configuration
Last synced: 3 months ago
JSON representation
My NixOS configuration
- Host: GitHub
- URL: https://github.com/suasuasuasuasua/nixos-config
- Owner: suasuasuasuasua
- Created: 2024-09-03T22:36:02.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-25T04:06:11.000Z (4 months ago)
- Last Synced: 2024-09-30T07:23:40.321Z (3 months ago)
- Topics: nixos, nixos-configuration
- Language: Nix
- Homepage:
- Size: 162 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NixOS Configuration
My current configuration is based on this [starter repo](https://github.com/Misterio77/nix-starter-configs).
To start, install `git` and `nix-flakes`
```bash
# Use a shell with git
nix-shell -p git home-manager# Should be 2.4+ for these features
nix --version
export NIX_CONFIG="experimental-features = nix-command flakes"# Update flakes
nix flake update# Update the hardware configuration
cp /etc/nixos/hardware-configuration.nix ./hosts/.../hardware-configuration.nix# Apply system configurations for a default system
sudo nixos-rebuild switch --flake .# Apply the home manager configurations system
home-manager switch -b backup --flake .
```## Nix Darwin Extension
Use the nix installer from Determinate Systems. It provides nice features like
a transparent installation, sets up the volume for the nix, has an easy
uninstall script, etc.```bash
curl --proto '=https' --tlsv1.2 -sSf -L \
https://install.determinate.systems/nix | sh -s -- install
```