DEPRECATED: See https://github.com/srid/nixos-config which uses flakes and is simple.
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.
Then, ssh as srid@... and:
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 --update
ssh-keygen # then, add to Github
nix-shell -p git -p vim
...
git clone git@github.com: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
https://notes.srid.ca/x1c7-install
Use nixos-infect.
Nix
61.7%
Emacs Lisp
19.6%
Vim Script
10.1%
Haskell
5.8%
Shell
1.3%
Makefile
1.0%
DEPRECATED: See https://github.com/srid/nixos-config which uses flakes and is simple.
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.
Then, ssh as srid@... and:
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 --update
ssh-keygen # then, add to Github
nix-shell -p git -p vim
...
git clone git@github.com: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
https://notes.srid.ca/x1c7-install
Use nixos-infect.
Nix
61.7%
Emacs Lisp
19.6%
Vim Script
10.1%
Haskell
5.8%
Shell
1.3%
Makefile
1.0%