Coder Social home page Coder Social logo

richban / system Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 1.87 MB

Nix system configurations and dotfiles

License: MIT License

Shell 22.37% Lua 21.31% Ruby 0.40% JavaScript 1.09% Python 20.71% CSS 0.62% Nix 12.96% Vim Script 20.54%
dotfiles neovim nix nix-darwin nix-flake nix-packages tmux zsh

system's Introduction

Nix System Config & dotfiles

This repository manages system configurations for all of my OSX based machines. The system configurations are defined as a flake.nix.

๐Ÿง  Philosophy

  • nix-darwin and home-manager configurations are decoupled. Meaning both can be used independently.
  • home-manager can be (is) used as a module within nix-darwin. See common.nix file.
  # bootstrap home-manager
  hm = import ./home-manager;
  • home-manager is fully compatible as a standalone configuration, managed with the home-manager CLI - this requires standalone installation.
  • flake outputs define platform specific darwinConfigurations and home profile specific configurations homeConfigurations.

โš™๏ธ Installation

Run the installer script to perform a multi-user installation. The installer also installs nix-darwin, since it doesn't work with flakes out of the box.

./bin/install_nix.sh

๐Ÿš€ Bootstrapping

Darwin

Clone this repository into ~/Developer:

[email protected]:richban/dotfiles.git

Bootstrap a nix-darwin system using:

nix --extra-experimental-features "nix-command flakes" develop -c sysdo bootstrap --darwin

Bootstrap a home-manager configuration using:

nix --extra-experimental-features "nix-command flakes" develop -c sysdo bootstrap --home-manager

system's People

Contributors

richban avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

system's Issues

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.