All Projects → vyorkin → nixos-config

vyorkin / nixos-config

Licence: other
My NixOS configuration

Programming Languages

Nix
1067 projects

Projects that are alternatives of or similar to nixos-config

system
Declarative NixOS system configuration for all my machines
Stars: ✭ 14 (-17.65%)
Mutual labels:  nixos, nixos-configuration
dotfiles
For keeping all my Dotfiles update to date
Stars: ✭ 29 (+70.59%)
Mutual labels:  nixos, nixos-configuration
dconf2nix
🐾 Convert Dconf files (e.g. Gnome Shell) to Nix, as expected by Home Manager
Stars: ✭ 51 (+200%)
Mutual labels:  nixos, nixos-configuration
immutable-rice
Configuration of i3, urxvt, conky and rofi using the NixOS configuration
Stars: ✭ 46 (+170.59%)
Mutual labels:  nixos, nixos-configuration
nixdots
I have no idea what the hell I'm doing
Stars: ✭ 46 (+170.59%)
Mutual labels:  nixos, nixos-configuration
ianix
Personal NixOS configuration
Stars: ✭ 31 (+82.35%)
Mutual labels:  nixos, nixos-configuration
nixos-installer
Combining the power of Nix, Guile & Elm to install NixOS
Stars: ✭ 14 (-17.65%)
Mutual labels:  nixos, nixos-configuration
nyx
⚙️Nix[OS] Configuration
Stars: ✭ 50 (+194.12%)
Mutual labels:  nixos, nixos-configuration
dotnix
nix stuff
Stars: ✭ 27 (+58.82%)
Mutual labels:  nixos, nixos-configuration
elemental
Elemental, the component parts of a Nix/OS development system.
Stars: ✭ 44 (+158.82%)
Mutual labels:  nixos, nixos-configuration
nixos
My personal NixOS infrastructure
Stars: ✭ 24 (+41.18%)
Mutual labels:  nixos, nixos-configuration
nix-config
My personal nix config
Stars: ✭ 32 (+88.24%)
Mutual labels:  nixos, nixos-configuration
nixos-config
My NixOS configuration
Stars: ✭ 23 (+35.29%)
Mutual labels:  nixos, nixos-configuration
digga
A flake utility library to craft shell-, home-, and hosts- environments.
Stars: ✭ 818 (+4711.76%)
Mutual labels:  nixos, nixos-configuration
nix-config
NixOS configuration (also on WSL)
Stars: ✭ 51 (+200%)
Mutual labels:  nixos, nixos-configuration
rc
Structured system configuration (I moved from NixOS to GuixSD)
Stars: ✭ 97 (+470.59%)
Mutual labels:  nixos, nixos-configuration
dotfiles
pls help
Stars: ✭ 301 (+1670.59%)
Mutual labels:  nixos, nixos-configuration
dotfiles
Dotfiles
Stars: ✭ 25 (+47.06%)
Mutual labels:  nixos, nixos-configuration
config
My NixOS configurations
Stars: ✭ 17 (+0%)
Mutual labels:  nixos, nixos-configuration
yants
Yet Another Nix Type System | Source has moved to https://git.tazj.in/tree/nix/yants
Stars: ✭ 35 (+105.88%)
Mutual labels:  nixos

NixOS config for my hosts

Setup

  1. Enable nix flakes:

Add the following to your /etc/nixos/configuration.nix:

{ pkgs, ... }: {
  nix = {
    package = pkgs.nixUnstable;
    extraOptions = ''
      experimental-features = nix-command flakes
    '';
   };
}

Switch:

sudo nixos-rebuild switch
  1. Backup your original config
sudo mv /etc/nixos /etc/nixos-orig
  1. Clone this repository and create a symlink to /etc/nixos
mkdir -p ~/projects/personal && cd ~/projects/personal
git clone --recurse-submodules -j8 --depth=1 https://github.com/vyorkin/nixos-config
ln -sf nixos-config /etc/nixos
  1. (Optional) Add your new host configuration files to hosts/yourhost/* and add the corresponding target to Makefile.

  2. Build and deploy the NixOS host:

make setup/yourhost

Layout

  • Makefile - Contains targets to build host systems
  • flakes.nix - Metadata describing this repository
  • hosts/ - Host specific configurations
  • modules/ - Package configurations
  • profiles/ - Profiles (server, desktop)
  • packages/ - Local/custom derivations

Haskell

Tools:

Nix

Lorri: https://github.com/target/lorri/blob/master/contrib/daemon.md

Vim/NeoVim

OCaml

Note that you need to run:

:execute "helptags " . substitute(system('opam config var share'),'\n$','','''') .  "/merlin/vim/doc"

to manually to update the documentation

NodeJS

Enable the workaround to be able to install node packages globally. Make sure to create the following directory:

$ mkdir ~/.npm-packages

This directory is used in the ~/.npmrc.

Rust

$ rustup toolchain add nightly
$ rustup default nightly
$ rustup component add rust-src
$ rustup +nightly component add rust-analyzer-preview
$ git clone https://github.com/rust-analyzer/rust-analyzer.git && cd rust-analyzer
$ cargo xtask install --server
$ rustup component add rls
$ cargo install bingrep
$ cargo install rusty-tags
$ cargo install cargo-udeps && cargo +nightly udeps
$ rustup component add rustfmt-preview --toolchain nightly
$ cargo +nightly install racer
$ cargo install bootimage cargo-xbuild
$ cargo install elba hunter navi
$ cargo install evcxr_repl

Go

  • gitbatch - allows manage your git repositories in one place
$ go get -u github.com/isacikgoz/gitbatch/cmd/gitbatch

TypeScript

$ npm i -g typescript typescript-formatter microsoft@rush npm-check-updates

Why3

$ why3 config --detect

MiniZinc

Edit the gecode.msc and update the fzn-gecode. To find the path:

$ readlink -f $(which fzn-gecode)

OCaml

Remove OCAML_TOPLEVEL_PATH from ~/.opam/opam-init/variables.sh

opam repo add beta https://github.com/ocaml/ocaml-beta-repository.git

Install tools and common/core packages:

opam install tuareg merlin ocp-indent odoc
opam pin add ocaml-lsp-server https://github.com/ocaml/ocaml-lsp.git
opam install ocaml-lsp-server

opam install core core_bench stdio ppx_deriving ppx_inline_test ppx_expect
opam install fmt cmdliner lwt js_of_ocaml logs textutils
opam install alcotest qcheck qcheck-alcotest

Coq

opam repo add coq-released https://coq.inria.fr/opam/released
opam update

GNOME

Tweaks:

  • Set a dark theme, use Numix icon & cursor themes
  • Activate and setup extensions you like

Firefox

Sign-in and (optionally) install these extensions:

Ethereum

https://github.com/dapphub/dapptools

npm i -g solhint

GitHub

  • gist --login

Other

  • tldr --update

Inspired by

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