workflow / nixos-config-1

NixOS configuration files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NixOS configuration

Installation instructions

($CONFIG is the location of this repo)

  • git clone git@github.com:alexpeits/nixos-config.git $CONFIG
  • add $CONFIG/configuration.nix to the imports in /etc/nixos/configuration.nix (sample configuration is in assets)
  • add $CONFIG/nixos-config/hardware-configuration.nix to the same list
  • sudo nix-channel --add https://github.com/NixOS/nixos-hardware/archive/master.tar.gz nixos-hardware
  • sudo nix-channel --update
  • change your name to alex because it's hardcoded in the configurations
  • sudo mkdir -m 0755 -p /nix/var/nix/{profiles,gcroots}/per-user/alex (for home-manager)
  • sudo nixos-rebuild switch

About

NixOS configuration files


Languages

Language:Nix 100.0%