All Projects → bbigras → nix-config

bbigras / nix-config

Licence: BSD-3-Clause license
My personal nix config

Programming Languages

Nix
1067 projects
shell
77523 projects

Projects that are alternatives of or similar to nix-config

nyx
⚙️Nix[OS] Configuration
Stars: ✭ 50 (+56.25%)
Mutual labels:  nix, nixos, nixos-configuration
dotfiles
Dotfiles
Stars: ✭ 25 (-21.87%)
Mutual labels:  nix, nixos, nixos-configuration
nixdots
I have no idea what the hell I'm doing
Stars: ✭ 46 (+43.75%)
Mutual labels:  nix, nixos, nixos-configuration
dotnix
nix stuff
Stars: ✭ 27 (-15.62%)
Mutual labels:  nix, nixos, nixos-configuration
dconf2nix
🐾 Convert Dconf files (e.g. Gnome Shell) to Nix, as expected by Home Manager
Stars: ✭ 51 (+59.38%)
Mutual labels:  nix, nixos, nixos-configuration
nix-config
NixOS configuration (also on WSL)
Stars: ✭ 51 (+59.38%)
Mutual labels:  nix, nixos, nixos-configuration
elemental
Elemental, the component parts of a Nix/OS development system.
Stars: ✭ 44 (+37.5%)
Mutual labels:  nix, nixos, nixos-configuration
nixos-installer
Combining the power of Nix, Guile & Elm to install NixOS
Stars: ✭ 14 (-56.25%)
Mutual labels:  nix, nixos, nixos-configuration
system
Declarative NixOS system configuration for all my machines
Stars: ✭ 14 (-56.25%)
Mutual labels:  nix, nixos, nixos-configuration
nixos-config
My NixOS configuration
Stars: ✭ 23 (-28.12%)
Mutual labels:  nix, nixos, nixos-configuration
rc
Structured system configuration (I moved from NixOS to GuixSD)
Stars: ✭ 97 (+203.13%)
Mutual labels:  nix, nixos, nixos-configuration
digga
A flake utility library to craft shell-, home-, and hosts- environments.
Stars: ✭ 818 (+2456.25%)
Mutual labels:  nix, nixos, nixos-configuration
nixvim
Configure Neovim with Nix!
Stars: ✭ 120 (+275%)
Mutual labels:  nix, nixos
crane
A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching.
Stars: ✭ 348 (+987.5%)
Mutual labels:  nix, nixos
nix2container
An archive-less dockerTools.buildImage implementation
Stars: ✭ 133 (+315.63%)
Mutual labels:  nix, nixos
flake-utils-plus
Use Nix flakes without any fluff.
Stars: ✭ 280 (+775%)
Mutual labels:  nix, nixos
impermanence
Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]
Stars: ✭ 401 (+1153.13%)
Mutual labels:  nix, nixos
immutable-rice
Configuration of i3, urxvt, conky and rofi using the NixOS configuration
Stars: ✭ 46 (+43.75%)
Mutual labels:  nixos, nixos-configuration
emergency-kexec
Kexec into an in-memory emergency system
Stars: ✭ 21 (-34.37%)
Mutual labels:  nix, nixos
dotfiles
For keeping all my Dotfiles update to date
Stars: ✭ 29 (-9.37%)
Mutual labels:  nixos, nixos-configuration

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/bbigras/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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].