Skip to content

bahrom04/nix-config

Repository files navigation

Welcome Image

NixOS

sudo nixos-rebuild switch --flake .#nixos

nix-darwin

sudo darwin-rebuild switch --flake .#bahrom04
--option tarball-ttl 0 # no caching

nix build .#darwinConfigurations.bahrom04.config.system.build.toplevel --show-trace

Code formatter and checkers

nix fmt .
nix flake check --all-systems --show-trace
nix repl # and inside type ":lf ."
nix run nixpkgs#nix-tree

To edit secrets

Check that environment variable has proper sops path

nix develop
sops ./secrets/secrets.yaml

Welcome Image

About

⚙️ My NixOS and nix-darwin configs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages