GithubHelp home page GithubHelp logo

nixos's Introduction

NixOS

This repository contains my NixOS configuration files.

As I use the same configuration across multiple machines, the focus is to create a configuration that shares as much between machines as possible. This is found in the shared directory. The hosts directory contains multiple machines and the specific additions and modifications to the shared configuration.

An additional focus is to allow the repository to be up-to-date on all my machines while not containing local untracked/uncommited changes for the configuration to work, as this would be a hassle to keep track of. Instead, the configuration for a given machine is symlinked into the root of the directory, after which a normal sudo nixos-rebuild switch or sudo nixos-rebuild boot will build the desired configuration.

Considerations

Personally, I am not a big fan of some of the file splitting this configuration leads to, as some of the host specific configuration files are only a couple of lines long and modify a single option. However, I do think that this structure allows for additions to be easy and rather simply, if further machines are added to the host list.

Channels

I use the following channels for my configuration:

home-manager https://github.com/nix-community/home-manager/archive/master.tar.gz
nixos https://nixos.org/channels/nixos-unstable
nixpkgs https://nixos.org/channels/nixpkgs-unstable
rust-overlay https://github.com/oxalica/rust-overlay/archive/master.tar.gz

nixos's People

Contributors

andreaskrath avatar

Stargazers

Morten Munk avatar L I N U X ( リナックス ) 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.