Skip to content

vinnyA3/nixos-configuration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nixos logo  NixOS Configuration

Here are my NixOS configuration files!

Current Machines (hosts):

  • nixvm: homelab server
  • zerodays: home desktop (legacy)

Getting Started

⚠️ if you're looking to test the configuration only, make sure to backup your current configuration before running the linking script!

To get started:

  • cd & clone repo to /etc/nixos:
git clone https://github.com/vinnyA3/nixos-configuration.git \
&& cd nixos-configuration
  • run the linking / init script:./ln-host <desired host config name in 'hosts'>

    • example:
    ./ln-host 'nixvm'
  • optional - if you're setting up your NixOS env from scratch, you can generate your hardware config now:

    nixos-generate-config
  • finally, build the configuration:

    • for good measure, test the build: nixos-rebuild dry-build
    • when ready, enable on boot & build: nixos-rebuild switch

User Nix Configs

Some hosts, in ./hosts, have specific user configs. There files are nix configs that control the environment at the user-level. Just copy these to your user's ~/.nixpkgs to spin up the env.

About

A repo for my nixos configuration files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published