Code Monkey home page Code Monkey logo

nixpkgs's Introduction

Rin's Home ๐Ÿš

Heavily inspired from (malob/nixpkgs).

This is my personal configuration with nix using flakes, home-manager, & nix-darwin for Darwin or MacOS System.

Usage

Prerequisite

Nix

System Single User Multiple User Command
Linux โœ… โœ… Single User โ€ข Multi User
Darwin (MacOS) โŒ โœ… Multi User
More...
Linux Single User
sh <(curl -L https://nixos.org/nix/install) --daemon
Linux Multi User
sh <(curl -L https://nixos.org/nix/install) --no-daemon
Darwin Multi User
sh <(curl -L https://nixos.org/nix/install)

Enable experimental-features

In general installation of nix, the nix configuration is located in ~/.config/nix/nix.conf. You MUST be set the experimental-features before use this configuration.

experimental-features = nix-command flakes

// (optional) for distribution cache (DON'T COPY THIS COMMENT LINE)
substituters = https://cache.nixos.org https://cache.nixos.org/ https://r17.cachix.org

Setup

// with SSH

git clone [email protected]:ri7nz/nixpkgs ~/.config/nixpkgs

// OR with HTTP
git clone https://github.com/ri7nz/nixpkgs ~/.config/nixpkgs
  • Change directory to ~/.config/nixpkgs
cd ~/.config/nixpkgs
  • Run Build
    command for build: nix build .#darwinConfigurations.[NAME].system
    Available for [NAME]:
    • RG
nix build .#darwinConfigurations.RG.system
  • Apply from Result
    command for apply the result: ./result/sw/bin/darwin-rebuild switch --flake .#[NAME]
    Available for [NAME]:
    • RG
      After Run Build you can apply from ./result with this command
./result/sw/bin/darwin-rebuild switch --flake .#RG
  • Done ๐Ÿš€๐ŸŽ‰

Acknowledgement

nixpkgs's People

Contributors

r17x avatar asyrawih 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.