Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
X1
 
 
 
 
 
 
 
 

README.md

nixos-configuration

NixOS configuration, pilfered from juselius/nixos-configuration, MIT-licensed.

  1. Download the NixOS minimal installation CD
  2. Install NixOS by following the installation instructions

Configure the base OS:

# nix-env -i git vim
# cd /tmp
# git clone https://github.com/robertodr/nixos-configuration
# cp nixos-configuration/*.nix /etc/nixos/
# vim /etc/nixos/configuration.nix
# nixos-rebuild switch
# reboot

Don't forget to add channels (using sudo in case)

# nix-channel --add https://nixos.org/channels/nixos-18.03 nixos
# nix-channel --add https://nixos.org/channels/nixos-unstable nixos-unstable
# nix-channel --add https://github.com/NixOS/nixos-hardware/archive/master.tar.gz nixos-hardware
# nix-channel --add https://github.com/rycee/home-manager/archive/master.tar.gz home-manager
# nix-channel --add https://github.com/nmattia/niv/archive/master.tar.gz niv

WARNING The configuration in the repo might not always work successfully due to some packages. In case that happens, comment them and proceed with installation. You can fix those packages afterwards.

Configure the user account:

# su - username
$ git clone https://github.com/robertodr/dots .dots
$ git clone https://github.com/robertodr/xmonad .xmonad
$ ln -s .dots/default.nix .
$ vim default.nix
$ nix-home

About

NixOS configuration

Resources

License

Releases

No releases published

Packages

No packages published

Languages