https://github.com/johnramsden/nixos
My NixOS configuration.
https://github.com/johnramsden/nixos
linux nix nixos nixpkgs
Last synced: about 1 year ago
JSON representation
My NixOS configuration.
- Host: GitHub
- URL: https://github.com/johnramsden/nixos
- Owner: johnramsden
- Created: 2017-04-01T01:50:33.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-09-02T01:32:58.000Z (almost 7 years ago)
- Last Synced: 2025-04-02T06:37:23.554Z (about 1 year ago)
- Topics: linux, nix, nixos, nixpkgs
- Language: Nix
- Size: 193 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NixOS
My NixOS configuration I use as my every day system.
### nixpkgs - git Channel
In nix repo add nixpkgs channel as submodule:
git submodule add https://github.com/nixos/nixpkgs
Add channels repo as upstream and fetch:
cd nixpkgs
git remote add channels https://github.com/nixos/nixpkgs-channels
git fetch
Go to branch of choice:
git remote update channels
git reset --hard channels/nixos-17.03
Set location to directory in config:
nix.nixPath = [
"/etc/nixos"
"nixpkgs=/etc/nixos/nixpkgs"
"nixos-config=/etc/nixos/configuration.nix"
];