Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/enzime/dotfiles-nix
Use Nix to declaratively manage and configure all of my systems everywhere all at once
https://github.com/enzime/dotfiles-nix
dotfiles home-manager infrastructure-as-code nix nixos
Last synced: 11 days ago
JSON representation
Use Nix to declaratively manage and configure all of my systems everywhere all at once
- Host: GitHub
- URL: https://github.com/enzime/dotfiles-nix
- Owner: Enzime
- Created: 2021-09-20T05:42:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-23T02:52:12.000Z (16 days ago)
- Last Synced: 2024-10-23T11:47:42.830Z (15 days ago)
- Topics: dotfiles, home-manager, infrastructure-as-code, nix, nixos
- Language: Nix
- Homepage:
- Size: 567 KB
- Stars: 28
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
I use Nix to declaratively manage and configure all of my systems everywhere all at once
## Getting started
Due to subflakes being broken in Nix, before you can use this repo you'll need to run:
```
$ nix-shell --pure -I nixpkgs=flake:nixpkgs -p '(import ./shell.nix { }).packages.${builtins.currentSystem}.add-subflakes-to-store' --command add-subflakes-to-store
```You can then run a NixOS VM on Linux with:
```
$ nix run .#phi-nixos-vm
```All the possible hostnames are `aether`, `eris`, `hermes-nixos`, `phi-nixos` and `sigma`
## See also
- [Frequently Asked Questions about Nix](https://github.com/hlissner/dotfiles/tree/55194e703d1fe82e7e0ffd06e460f1897b6fc404?tab=readme-ov-file#frequently-asked-questions)