Skip to content

my swiss army knife

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

shekohex/dotfiles

Repository files navigation

~/.dotfiles for @shekohex

NixOS Unstable

Disclaimer: This is not a community framework or distribution. It's a private configuration and an ongoing experiment to feel out NixOS. I make no guarantees that it will work out of the box for anyone but myself. It may also change drastically and without warning.

These are my dotfiles for configuring my system. Feel free to use them as you like.

Overview

These are configuration files for different hosts/machines which includes my workstation and my macbook.

Installation

For workstation: host, after installing the base NixOS, you can run the following:

nix-env -iA nixpkgs.git
git clone https://github.com/shekohex/dotfiles.git ~/.dotfiles && cd ~/.dotfiles
sudo nixos-rebuild --extra-experimental-features 'nix-command flakes' switch --flake .#workstation

For macbook: host, you need to follow these to steps:

  1. Install Nix (skip if already installed):
sh <(curl -L https://nixos.org/nix/install)

echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
  1. Install the dotfiles:
nix-env -iA nixpkgs.git
git clone https://github.com/shekohex/dotfiles.git ~/.dotfiles && cd ~/.dotfiles
nix build .#darwinConfigurations.macbook.system
./result/sw/bin/darwin-rebuild switch --flake .#macbook

Since darwin is now added to the PATH, you can build it from anywhere in the system. In this example it is rebuilt from inside the flake directory:

darwin-rebuild switch --flake .#

This will rebuild the configuration and automatically activate it.


License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

my swiss army knife

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published