Giter VIP home page Giter VIP logo

nixos-hosts's Introduction

My NixOS hosts

This is a collection of my NixOS machines.

./config/screenshot.png

Configs

Cleanup (WIP)

I’ve decided to go full ballistic and do a major cleanup of this repo.

Why?

This repo has become a hot mess of wm configs, host configs, nix scripts, etc. and I’ve decided to flakefy it. I also want to config some machines that I won’t commit here and I don’t want to reference this flake in those configs.

Quickstart

  • after flashing and booting into a nixos image do this
nix-shell -p git vim

# Set HOST to the desired hostname of this system
HOST=...
# Set USER to your desired username 
USER=...

git clone https://github.com/mislavzanic/nixos-dotfiles.git /etc/dotfiles
cd /etc/dotfiles

nix run .#disk-partition.regular --experimental-features 'nix-commands flakes'

mkdir -p hosts/$HOST
nixos-generate-config --root /mnt --dir host/$HOST
rm hosts/$HOST/configuration.nix
cp hosts/milivoj/default.nix hosts/$HOST
git add hosts/$HOST

USER=$USER nixos-install --root /mnt --impure --flake .#$HOST
mv /etc/dotfiles /mnt/etc/dotfiles

Inspirations (or shameless copies 😄)

nixos-hosts's People

Contributors

mislavzanic avatar

Stargazers

 avatar

Watchers

 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.