Git Product home page Git Product logo

hyprnix's Introduction

The process is:

  • partition your disks
  • mount partitions onto /mnt
  • nixos-install

Run this command to ensure Git & Vim are installed:

nix-shell -p git vim

Git clone this repo

Now enter the following commands to get my repo:

git clone https://github.com/hemanth-92/hyprnix
cd hyprnix

Generate your hardware.nix

By default, my repo comes with my system hardware. That one will not work for your system. That's why you have to generate your own. To do that, enter the following command:

nixos-generate-config --show-hardware-config  > hardware.nix

Set your options

Now go into the options.nix and set your preferences. You can use nano for that. In there you can make changes to the options to have it just the way you want. To go into it, enter this command:

nano options.nix

Set your password

By default, this comes with my password as the user password. Because you don't know my password, you need to change it. To do that, enter the following commands:

mkpasswd -m sha-512 <YOUR-PASSWORD>

Example:

  mkpasswd -m sha-512 password
$6$YdPBODxytqUWXCYL$AHW1U9C6Qqkf6PZJI54jxFcPVm2sm/XWq3Z1qa94PFYz0FF.za9gl5WZL/z/g4nFLQ94SSEzMg5GMzMjJ6Vd7.

Now copy the output and open up the system.nix file in nano. Search for the "hashedPassword" line and replace the original string with the output you copied.

Install the system

When you're done with all of your changes, you are ready to install the system. To do that, enter the following commands into your terminal:

NIX_CONFIG="experimental-features = nix-command flakes"
sudo nixos-rebuild switch --flake .#<The-Hostname-You-Set-In-The-Options-File>  --install-bootloader
(--install-bootloader is to load the boot)

hyprnix's People

Contributors

hemanth-92 avatar

Stargazers

Sophia Hoffmann Fernandes Braga avatar

Watchers

 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.