Skip to content

MayNiklas/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my dotfiles managed by home-manager

Contains my dotfiles for non NixOS systems.

Introduction

Over the last two years, I have been using NixOS together with home-manager to manage my dotfiles. Since my primary laptop is a MacBook, I have decided to give home manager a try in a seperate repository (simplicity).

Pre-requisites

Commands

# build /check configuration
nix build .#homeConfigurations.nik@MacBook-Pro-14-2021.activationPackage

# initialize configuration
nix run .#homeConfigurations.nik@MacBook-Pro-14-2021.activationPackage

# rebuild configuration
home-manager switch --flake .

# basic flake check
nix flake check

# update flake.lock -> updates all flake inputs (e.g. system update)
nix flake update

# update a single flake input
nix flake lock --update-input nixpkgs

# show contents of flake
nix flake show

# show flake info
nix flake info

# run flake app externally
nix run 'github:mayniklas/nixos#owncast'

# run flake app
nix run nixpkgs#python39 -- --version  

# lists all syslinks into the nix store (helpfull for finding old builds that can be deleted)
nix-store --gc --print-roots

# delete unused elements in nix store
nix-collect-garbage

# also delete iterations
nix-collect-garbage -d

# use auto formatter on flake.nix
nix fmt flake.nix

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages