Giter VIP home page Giter VIP logo

nixos-config's Introduction

nixos-config

My personal nixos config

Installation

  1. Download and flash the NixOS minimal iso to an installation media drive
  2. Boot into the installation media and switch to the root user: sudo su
  3. Read tmpfs as root for an understanding of how the general config works and how to mount the filesystems in a tmpfs as root setup
  4. Mount the filesystems as specified in the article above
  5. Connect to the internet: sudo systemctl start wpa_supplicant then wpa_cli
  6. Run nix-shell -p git nixFlakes
  7. Now that you are in an environment with git and flakes, clone this repository
  8. Exit the nix shell with exit change into the cloned directory, and run nix-shell
  9. Run sudo git config --global --add safe.directory $(pwd)
  10. Run sudo nixos-install --option pure-eval no --flake $FLAKE#desktop

Additional Steps for the Server Flake

  1. Read "Installing NixOS with root on tmpfs and encrypted ZFS on a netcup VPS" for more insight on root on tmpfs + ZFS setup
  2. Set up SSH access
  3. Set services.openssh.settings.PermitRootLogin = "yes" in the config
  4. Follow the instructions in the NixOS wiki to create an SSH key and copy it to the server
  5. Append the key to the authorizedKeys lists in the config

nixos-config's People

Contributors

willpower3309 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.