Skip to content

lillycham/nixfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nixfiles

My configs, using nix, home-manager and nix-darwin

bootstrap

Necessary due to flakes.

macOS

$ nix build
$ sudo ./result/activate

NixOS

$ sudo nixos-rebuild switch --flake .

subsequent runs

$ darwin-rebuild switch --flake .
$ nixos-rebuild switch --flake .

structure

  • /hosts/ contains a folder for each unique device.
    • home.nix contains platform specific home-manager configs
    • default.nix is the system configuration
  • /hosts/common.nix contains non-platform specific configs. it is imported in home.nix.
  • /config/ contains program configs, imported via home-manager.

About

Nix config files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published