Git Product home page Git Product logo

dotfiles's Introduction

title author
My system configurations for NixOS and Darwin (macOS)
Marco Schneider

This repository contains my personal nixos and home-manager configuration.

It manages the configuration for multiple hosts:

  • wayfarer: My work MacBook Pro, running macOS.
  • oxomoco: My personal laptop, running NixOS.

Home Configuration

Shared configuration between hosts can be found in home.nix. Each host refines that configuration in their respective home.nix declarations.

System Configuration

Each NixOS host defines its system configuration in

It is somewhat modularized (see modules). I wouldn't recommend anyone trying to copy anything in here (there are better, more well thought out configurations like this this one), but it gets the job done.

Modules can be included in the respecfive home configurations via an enable option (and possible more). If, for example, you want your host to use the configured kitty terminal emulator, just enable it in the home configuration like this:

modules.programs.kitty.enable = true;

Install

macOS

Assuming you have =nix= installed: Clone this repository and then, from the root of the project run:

nix build .#home-configuration.wayfarer.system --extra-experimental-features nix-command --extra-experimental-features flakes

This is only required the first time around.

Updates

Switch to a new generation

NixOS

Using nixos-rebuild:

nixos-rebuild switch --flake <point to dotfiles> --use-remote-sudo

macOS

To switch to the next generation of your system/user config, run:

home-manager switch --flake .

Update packages

To update the packages (i.e. upgrade), run

nix flake update

Or, if you only want to update the nixpkgs input, run

run flake lock --update-input nixpkgs

dotfiles's People

Contributors

neshtea avatar

Stargazers

adz avatar

Watchers

James Cloos 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.