Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Margit-The-Fell-Omen/nixos

 
 

Repository files navigation

My NixOS Configuration

This is my personal NixOS configuration :). I tried to make it as customizable as possible through module system.

Gallery

Some screenshots:

Everforest Medium Nord
Everforest Medium Nord

Installation

  1. Clone this repository:
    export DOTFILES_PATH="$HOME/dotfiles"
    git clone https://github.com/deathlesz/nixos $DOTFILES_PATH
    cd $DOTFILES_PATH
  2. Create a directory for your host from a template:
    export HOSTNAME=$(hostname) # or change it to something else
    cp -r ./hosts/__TEMPLATE ./hosts/${HOSTNAME}
  3. Copy your hardware-configuration.nix there:
    cp /etc/nixos/hardware-configuration.nix ./hosts/${HOSTNAME}/
    If you're installing NixOS from scratch, you may need to generate it. See NixOS Manual for how to do that.
  4. Now you may then customize it as you want. The documentation is inline with the configuration itself.
  5. When done, apply the configuration:
    sudo nixos-rebuild switch --flake ${DOTFILES_PATH}#${HOSTNAME}
    Alternatively, if you're installing NixOS:
    sudo nixos-install --flake ${DOTFILES_PATH}#{HOSTNAME}

License

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

For more details, please see the UNLICENSE file or unlicense.org.

About

My NixOS configuration :3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 94.5%
  • Shell 2.8%
  • CSS 2.7%