GithubHelp home page GithubHelp logo

triklsbg / test_sim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from evertras/simple-homemanager

0.0 0.0 0.0 132 KB

A guide to getting started with home manager with flakes and all that 2024 goodness.

License: MIT License

Nix 90.15% Makefile 9.85%

test_sim's Introduction

Simple start with Nix Home Manager with Flakes

Do not click around. Read this guide in order. Do all the steps. You'll thank me later. See bottom of this readme for the starting link.

Want to control your entire Linux user space in a declarative, highly configurable, highly reproducible manner that you can take with you from machine to machine without ever worrying about how to rebuild it? Did you try to do that with Nix's Home Manager and hated your life? Read on.

What is this?

I like Nix. A lot. I think you will too. But I hated getting started with it.

The documentation for Nix is a headache to wade through and understand in one go. Piecing together random blog posts diving into all the flashy fun cool stuff is painful, and many of them are old/stale. Simple, practical starter guides for using home manager were surprisingly difficult to find. Maybe I was just missing them.

Regardless, this is the guide I wish I had when I started. All I wanted was a foundation to start playing with and build on. So here you go: a low-nonsense guide to getting started with Home Manager with Flakes.

Start the journey

Assumptions

I assume you are running Linux of some sort. This may work on Mac too, but I haven't tried it.

I assume you are NOT running NixOS. If you are, you may want to read a little more carefully when it comes to installing Home Manager. The easiest way to install it at that point IMO is just adding it as a package to your NixOS install. After Home Manager is installed, it should all be the same anyway.

I do not assume you have any experience with Nix.

I assume you have some minimal programming knowledge. If you know what a "string" and a "function" are, you're probably fine.

Please read this bit

This is not intended to replace the official documentation of Nix itself, Home Manager, nixpkgs, etc. This is meant to be an entry point to get a foundation, so that you can understand what you're looking at in the future.

I am not going to give you deep explanations of why certain things are the way they are. I am not going to give you fifty different ways to do something. The rabbit holes of Nix go deep. Do not stray from the path until you have something minimal working, and then I'll show you how to start tinkering. Once you have some minimal tinkering under your belt, everything else in Nix will make so much more sense and you can explore all you want!

If you see code, don't copy/paste it. Type it yourself. Neuroscience. You'll learn it a lot quicker that way.

Let's go!

Ok, ready? Let's go! (01-install.md).

test_sim's People

Contributors

evertras 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.