https://github.com/cidem/dotfiles
No place like ~. Nix. All. The. Things.
https://github.com/cidem/dotfiles
arch arch-linux desktop-computer dotfiles home-manager nix nixos nixpkgs pacman
Last synced: 6 months ago
JSON representation
No place like ~. Nix. All. The. Things.
- Host: GitHub
- URL: https://github.com/cidem/dotfiles
- Owner: cideM
- License: mit
- Created: 2020-07-21T10:53:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-17T11:55:36.000Z (6 months ago)
- Last Synced: 2025-04-17T23:55:59.798Z (6 months ago)
- Topics: arch, arch-linux, desktop-computer, dotfiles, home-manager, nix, nixos, nixpkgs, pacman
- Language: Nix
- Homepage: https://fbrs.io/
- Size: 1.49 MB
- Stars: 69
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Welcome
Nix Flake for my M1 laptop and NixOS desktop computer.
## MacOS (`aarch64-darwin`)
The `nix-shell` command is for the first run, afterwards just run `home-manager`
```shell
$ cat /etc/nix/nix.conf
build-users-group = nixbld
trusted-users = root fbs
...
$ nix-shell -p nixUnstable --command "nix build --experimental-features 'nix-command flakes' '.#homeConfigurations.work-m1.activationPackage'"
$ ./result/activate
$ home-manager build --flake .#work-m1
```
## NixOS
`sudo nixos-rebuild switch --flake .`