Coder Social home page Coder Social logo

nixos-config's Introduction

NixOS Configuration

These instructions will allow a replication of my NixOS setup. It is not exhaustive, but it should get you pretty close!

Contents

  • dots/: Contains current dotfiles
  • nixos/: Contains NixOS configuration files
    • configuration.nix: My NixOS system configuration.
    • hardware-configuration.nix: My NixOS hardware configuration.
  • overlays/: Contains custom build overlays for suckless utilities.
    • dwm/: Overlay for the dynamic window manager dwm.
    • dmenu/: Overlay for the dynamic menu dmenu.
    • st/: Overlay for the simple terminal st.
    • slock/: Overlay for the simple screen locker slock.
    • slstatus/: Overlay for the status monitor slstatus.
  • scripts/: Contains some utility scripts
  • wallpapers/: Contains wallpapers, modified to match the components of my OS

Replication

1. Clone the Repository

Start by cloning this repository to your local machine using the git clone command.

git clone https://github.com/chambored/nixos-config.git

2. Copy the NixOS Configuration Files

Copy both configuration.nix and hardware-configuration.nix to /etc/nixos/:

sudo cp path/to/configuration.nix /etc/nixos/
sudo cp path/to/hardware-configuration.nix /etc/nixos/

3. Update the Paths in NixOS Configuration

Update the paths in the configuration.nix file to reflect the location of the cloned overlays.

4. Prepare the Custom dmenu

The custom dmenu requires the dmenu_custom.sh script. Make sure to set this script as executable:

chmod +x path/to/dmenu_custom.sh

5. Update the Programs List

When you want a program to appear in the custom dmenu list, update the programs.txt with the name of the package.

6. Copy the Dot Files

Copy the content of the dots directory into your home directory:

cp -r dots/* ~/

Notes:

A lot of file paths in scripts, shebangs, and config files reflect my organization. Using these files would require changing those file paths to reflect your own.

nixos-config's People

Contributors

natrimmer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.