Skip to content
No description, website, or topics provided.
Perl Nix Python Shell
Branch: master
Clone or download
Latest commit 76f9da7 May 31, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config some updates May 25, 2018
nixos grayworm: some updates May 30, 2019
pkgs nixos/nemo: some minor changes Jul 10, 2018
.gitignore another refractoring Jul 25, 2016
Makefile add Makefile to create links Feb 28, 2015
README.rst remove duplicate text in README (#6) Jul 11, 2018
default.nix another refractoring Jul 25, 2016
release.nix ffkiosk: addes to packages Mar 21, 2016

README.rst

All the Nix I have

Purpose of this repository is to collect all of my Nix/NixOS configuration in one place. This repository is not meant for you to depend on it, but it is a showcase how

Take good things from it. Complain about the weird things. Or just stop and say hi: @garbas

Structure

  • nixos/ (configuration for specific machine)
    • biedronka.nix (my gf's mom laptop)
    • zabka.nix (my gf's laptop)
    • nemo.nix (my work laptop)
    • oskar.nix (my personal laptop)
    • floki.nix (my server)
    • profiles/ (profile is a collection of nixos services)
      • base.nix (setup which only configures self updating)
      • rok.nix (my own setup, shared between my laptops)
      • gnome3.nix (setup I maintain for my famility)
  • pkgs/ (my custom packages which extend nixpkgs)
    • default.nix (list of all overrides)
    • config/ (confiurations for programs)
  • default.nix (imports pkgs/)
  • release.nix (hydra script)

Deploying a machine

Login as root on the existing NixOS installation and then::

% cd /etc/nixos
/etc/nixos % mv configuration.nix backup.nix
/etc/nixos % git clone https://github.com/garbas/dotfiles
/etc/nixos % nixos-rebuild switch

Using packages without NixOS

Make sure you have nix installed on your system and then::

% mkdir -p ~/.nixpkgs/
% cd ~/.nixpkgs
~/.nixpkgs % git clone https://github.com/garbas/dotfiles
~/.nixpkgs % echo "{ packageOverrides = pkgs: import ./dotfiles { inherit pkgs; }; }"

Read more about ~/.nixpkgs/config.nix.

You can’t perform that action at this time.