Skip to content

robertodr/nixos-configuration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Languages