Giter VIP home page Giter VIP logo

nixconfig's Introduction

Cache ๐Ÿ“ Deploy ๐Ÿš€ Format ๐Ÿ”Ž Update โฌ†๏ธ

My NixOS configs

Files and Directories in this repository

data.nix

This file doesn't contain any secrets at all, it's just miscellaneous public data that I need to be able to access from many places.

It also contains public SSH keys for all the systems I have and care about, but also for trusted users that should have access to accounts on different systems. This becomes a central place to manage said keys for said users.

hosts/

hosts/laptop-private-elis/

Private laptop, deployed like a normal NixOS system using nixos-rebuild to build new generations. ZFS snapshots are pushed from this system to server-main-elis whenever this system is online.

hosts/laptop-work-elis/

Work laptop, deployed like a normal NixOS system using nixos-rebuild to build new generations. ZFS snapshots are pushed from this system to server-main-elis whenever this system is online.

hosts/server-main-elis/

Home file server, deployed using deploy .#server-main-elis. Also used as build machines for the laptops. It's also my primary location to store ZFS snapshots that I backup from all of the other systems. It runs home assistant and some other things.

hosts/server-sparv/

On location server for http://speliarvika.se, will be used for LAN cache among other things.

hosts/vps06/

System that runs Gitea, ip.failar.nu, and a Matrix home server among some other things. Deployed using deploy .#vps06.

hosts/live-iso/

If you're adventurous and want to run a clone of my configuration from a live-iso, it can be built locally:

nix build github:etu/nixconfig#iso

modules/

This directory contains a whole bunch of modules that I've come up with to make it easier for me to quickly configure multiple systems to do similar things. So I've made my own modules with my own options.

Here's things like Emacs, home-manager, sway configuration, the list goes on.

secrets.nix and secrets/

This is the directory with real secrets managed with agenix which age encrypt files using the public SSH keys for my users on my primary laptops and the public SSH-key on the host of intended use. This way I can see, edit and update encryption keys on my primary laptops and commit these files to the repository. But then also the target system of intended use can decrypt it with it's stateful private SSH key.

nixconfig's People

Contributors

coopdot avatar dependabot[bot] avatar edane avatar etu avatar sa7dse avatar sindastra avatar talyz avatar tjodden avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

nixconfig's Issues

Add a license

Hi Elis,

I copied the first file from your nixconfig to mine1 (not committed yet), however, this repository does not seem to have a license.

Can you add a permissive license, so I can feel not bad about copying stuff to my flakes?

Thank you!

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.