Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/srid/nix-config
My NixOS configuration (DEPRECATED)
https://github.com/srid/nix-config
dotfiles nix nixos nixos-configuration
Last synced: 16 days ago
JSON representation
My NixOS configuration (DEPRECATED)
- Host: GitHub
- URL: https://github.com/srid/nix-config
- Owner: srid
- Archived: true
- Created: 2017-10-03T23:37:19.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-07T02:07:30.000Z (about 3 years ago)
- Last Synced: 2024-03-02T22:38:30.270Z (4 months ago)
- Topics: dotfiles, nix, nixos, nixos-configuration
- Language: Nix
- Homepage:
- Size: 16.7 MB
- Stars: 123
- Watchers: 9
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Lists
- awesome-stars - srid/nix-config - My NixOS configuration (DEPRECATED) (Nix)
README
# My NixOS configuration
**DEPRECATED**: See https://github.com/srid/nixos-config which uses flakes and is simple.
## Setup
1. First, copy the 'srid' user config to `device`, and activate that. We need to do this before cloning the repo under srid's home directory.
1. Then, ssh as srid@... and:
```bash
sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos
sudo nix-channel --add https://github.com/NixOS/nixos-hardware/archive/master.tar.gz nixos-hardware
sudo nix-channel --updatessh-keygen # then, add to Github
nix-shell -p git -p vim
...
git clone [email protected]:srid/nix-config.git $HOME/nix-config
cd $HOME/nix-config# First, review ./hardware/???.nix
sudo mv /etc/nixos/hardware /tmp/
sudo ln -s $(pwd)/hardware/???.nix /etc/nixos/configuration.nix
make
```## Installing NixOS on ...
### Thinkpad X1C7
https://notes.srid.ca/x1c7-install
### Thinkpad P71
- In BIOS, disable discrete graphics so intel card is used. We can change this post-install.
- In BIOS, make the USB disk the highest startup priority
- Follow the NixOS installation manual (choose UEFI), using /dev/nvme0n1 disk### Digital Ocean
Use [nixos-infect](https://github.com/elitak/nixos-infect).