Giter Site home page Giter Site logo

flake's People

Contributors

khionu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

plonialmoni

flake's Issues

Investigate spotifyd

Home Manager has support for spotifyd, which might be neat for integrating with other programs/tools.

CI to rotate Tailscale secrets

When a new container or server is made, it should be able to immediately join my Tailnet. This will require embedding a secret that allows the environment to authenticate.

Implementation notes

This will need to be encrypted with age, and decrypted via either Yubikey or a single-purpose private key provided through Vault or some other secrets engine. CI runner for this purpose should probably sit near the secrets engine.

Disk management

Eventually, this flake should have a single source-of-truth for drives and filesystems. Disko was explored for this purpose, however the architecture created for convoluted errors and awkward flake integration.

The new disk management will be designed to use compositional functions, eg

{ config, myDisko }: with myDisko; rec {
  disk_a = mkDisk {
    path = "/dev/disk/by-path/NNNNNN";
    partitions = [
      efi.mkPart { size = "1G"; label = "boot"; }
      luks.mkPart { size = "100%"; label = "encrypted"; }
    ];
  };
  zpool_a = zfs.mkPool {
    devices = [ disk_a.out.parts[1].decrypted ];
    children = {
      "zfs_swap" = zfs.mkZVol { ... };
      "EPHEM/root" = zfs.mkDataset { ... };
      # ...
    };
  };
}

The generated configuration will include a single script, broken up into individual functions, that can be used to format and mount any or all of the defined components. It will also export metadata that can be used to glue into the standard NixOS filesystem options.

Custom install medium

This flake should be able to produce an ISO that replaces the NixOS GUI installer with tooling that uses this flake's contents. The tooling should try to reach various hosting providers' metadata services, and if none are reachable provide a dropdown list of device configurations.

The same medium should come with all tools I might want while troubleshooting a device from a live image.

Note: Nushell input list is very nice.

Attributes to implement

Now that my flake has been broken into attributes, it's time to track which I didn't need yet but will want:

Traits

  • Nomad Client
  • Nomad Server
  • Consul Client
  • Consul Server
  • Vault Agent
  • Vault Proxy
  • Vault Server
  • Game Development
  • NAS (to break out)

Platforms

  • Server
  • Container
  • Embedded

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.