Skip to content
/ dotnix Public

My NixOS configuration, developed in a minimalist mind fashion

License

Notifications You must be signed in to change notification settings

orhnk/dotnix

Repository files navigation

.NIX > *NIX

ayu-dark-dwm gruvbox-dwm-|M| gruvbox-light-dwm solarized-dark-dwm

Bootstrapping

Here is the script you need to run to get this working:

Important

You will need to have an SSH key to authorize GitHub with, and have access to the Ghostty GitHub repository as I use Ghostty and Ghostty is in private beta at the moment.

sudo nix-shell --packages git nu nix-output-monitor --command "
  git clone https://github.com/RGBCube/NixOSConfiguration ~/Configuration
  cd ~/Configuration
  nu rebuild.nu <host>
"

host is a host selected from the hosts in the hosts directory.

Applying Changes

Lets say you have changed the configuration and want to apply the changes to your system. You would have to run the rebuild script:

./rebuild.nu

This runs the script interactively.

You can also check how the script is used:

./rebuild.nu --help

This outputs:

Usage:
  > rebuild.nu (host) ...(arguments)

Flags:
  -h, --help - Display the help message for this command

Parameters:
  host <string>: The host to build. (optional, default: '')
  ...arguments <any>: The arguments to pass to `nix system apply`.

NOTES

Notable links:

Notable Mentions:

BUGS

  • dwm hangs after a boot because of some bug. There are two ways that I've came up with to solve this problem:
    1. Enable kmscon
    2. Disable Auto-booting (into the "nixos" user)

License

MIT License

Copyright (c) 2023-present orhnk

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

My NixOS configuration, developed in a minimalist mind fashion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published