Skip to content

aksel-os/.dotfiles

Repository files navigation

Muh Dotfiles

Introduction

This are my dotfiles, there are many like them, but these are mine. My dotfiles is my best friend. It is my life.

Current users:

  • Kepler: Darwin systems
  • Aether: Linux systems
  • Misdreavus: Linux VM

Current hosts:

  • Cygnus: Macbook Pro M1
  • Ophicus: Thinkbook E490
  • Johto: NixOS VM

Steps to install

  1. Install Nix
    sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon
        
  2. Clone this repo
    git clone [email protected]:aksel-os/.dotfiles
        
    # or
    
    git clone https://github.com/aksel-os/.dotfiles.git    
        
  3. cd into .dotfiles
    cd ~/.dotfiles/
        
  4. Build the flake
    nix develop
    
    # mac
    just provision
    
    # linux
    just setup  
        

Installing on NixOS

Assuming you’ve cloned the directory.

  1. Format the drive NixOS will be installed on
    nix --experimental-features "nix-command flakes" run
    github:nix-community/disko/latest -- --mode destroy,format,mount path/to/disko/config
        
  2. Remove any mentions to my secrets flake. As this will cause the build to fail.
  3. Run the nixos-install command targeting the flake and correct host
    nixos-install --flake /absolute/path/to/flake.nix.#<host>
        
  4. Add your own secrets, and rebuild the flake afterwards to apply the changes.
    just switch
        

Updating

To apply changes made to the ./modules, ./homes or ./hosts, run the following:

just switch

To update the flake.lock run the following:

just update

# or

just update <pkg>

About

My dotfiles written in nix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •