GithubHelp home page GithubHelp logo

lilpea / dotfiles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hlissner/dotfiles

0.0 0.0 0.0 13.37 MB

NixOS dotfiles for veteran bike shedders

License: MIT License

Shell 13.29% Python 2.96% Scheme 18.85% JavaScript 0.13% CSS 29.43% Makefile 0.39% Common Lisp 0.74% Nix 23.04% Emacs Lisp 2.84% Vim Script 0.06% Haskell 8.26%

dotfiles's Introduction

Made with Doom Emacs NixOS 20.03

Me looking busy

My dotfiles

  • Operating System: NixOS
  • Shell: zsh + zgen
  • DM: lightdm + lightdm-mini-greeter
  • WM: bspwm + polybar
  • Editor: Doom Emacs (and occasionally vim)
  • Terminal: st
  • Launcher: rofi
  • Browser: firefox
  • GTK Theme: Ant Dracula
  • Icon Theme: Paper Mono Dark

Works on my machine ¯\_(ツ)_/¯

Quick start

# Assumes your partitions are set up and root is mounted on /mnt
git clone https://github.com/hlissner/dotfiles /etc/dotfiles
make -C /etc/dotfiles install

Which is equivalent to:

USER=${USER:-hlissner}
HOST=${HOST:-kuro}
NIXOS_VERSION=20.03
DOTFILES=/home/$USER/.dotfiles

git clone https://github.com/hlissner/dotfiles /etc/dotfiles
ln -s /etc/dotfiles $DOTFILES
chown -R $USER:users $DOTFILES

# make channels
nix-channel --add "https://nixos.org/channels/nixos-${NIXOS_VERSION}" nixos
nix-channel --add "https://github.com/rycee/home-manager/archive/release-${NIXOS_VERSION}.tar.gz" home-manager
nix-channel --add "https://nixos.org/channels/nixpkgs-unstable" nixpkgs-unstable

# make /etc/nixos/configuration.nix
nixos-generate-config --root /mnt
echo "import /etc/dotfiles \"$$HOST\" \"$$USER\"" >/mnt/etc/nixos/configuration.nix

# make install
nixos-install --root /mnt -I "my=/etc/dotfiles"

Management

  • make = nixos-rebuild test
  • make switch = nixos-rebuild switch
  • make upgrade = nix-channel --update && nixos-rebuild switch
  • make install = nixos-generate-config --root $PREFIX && nixos-install --root $PREFIX
  • make gc = nix-collect-garbage -d (use sudo to clear system profile)

dotfiles's People

Contributors

hlissner avatar lilpea avatar edmundmiller 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.