Giter Club home page Giter Club logo

nix-config-old's Introduction

nix-config built with nix ci

WIP

Features

  • flakes
  • deploy with deploy-rs
  • use the zen Linux kernel
  • use nixos-hardware for laptop
  • BTRFS on all system
  • impermanence
    • full disk "wipe" on laptop
    • all except /home wipe on desktop
  • Full disk encryption on laptop
  • emacs-init module for home-manager. See users/luxus/dev/emacs.nix
  • overlays
    • emacs-overlay
    • nixpkgs-mozilla
    • emacs-pgtk-nativecomp-overlay
  • sway for 2 machines, gnome + paperwm for 1 machine not supporting sway
  • split-dns with systemd-resolved (might be set in my privates files)
  • tailscale

This is heavily based on https://github.com/lovesegfault/nix-config. Many files were copied directly from that repo.

Note that the license should include lovesegfault's copyright on many files. Not sure how to sort that yet.

My emacs.nix is a copy of rycee's with some of my changes. So he has some copyright claim on that file.

Build one host

nix build .#hosts.desktop --impure

Deploy one host

deploy -s .#pixel6 -- --impure

nix-on-droid (first time)

On the phone:

nix-shell -p openssh -p which

# get user and group id and put it in hosts/pixel6/default.nix
id

ssh-keygen -q -N "" -t ed25519 -f ~/ssh_host_ed25519_key

cat <<EOF > tmp-sshd
HostKey ~/ssh_host_ed25519_key
Port 8022
EOF

mkdir -p ~/.ssh
cat <<EOF > ~/.ssh/authorized_keys
**my key**
EOF

# start sshd server to be able to deploy from desktop with deploy-rs
`which sshd` -dD -f ~/tmp-sshd

nix-config-old's People

Contributors

bbigras avatar dependabot[bot] avatar github-actions[bot] avatar lovesegfault avatar luxus avatar web-flow avatar

Watchers

 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.