Skip to content

farhnkrnapratma/nixos

Repository files navigation

❄️ My NixOS Flake

Getting Started

Prerequisites

  • NixOS installed on the target system

  • Flakes enabled in the Nix configuration:

    # configuration.nix
    {
      nix.settings.experimental-features = [
        "nix-command"
        "flakes"
      ];
    }

Usage

  1. Clone the repository:

    git clone https://github.com/farhnkrnapratma/nixos.git <dir_name>
    cd <dir_name>
  2. Modify the configuration as necessary

  3. Validate the configuration:

    sudo nixos-rebuild dry-build --flake .#hostName
  4. Apply the configuration:

    sudo nixos-rebuild switch --flake .#hostName

License

This project is licensed under the MIT License. Refer to the LICENSE file for the full license text.

Contact


DISCLAIMER — READ BEFORE USE

This NixOS Flake configuration is provided "AS IS", without warranty of any
kind, express or implied, including but not limited to the implied warranties
of merchantability, fitness for a particular purpose, or non-infringement.

USE AT YOUR OWN RISK. The author(s) of this configuration shall not be held
liable for any direct, indirect, incidental, special, exemplary, or
consequential damages arising from the use or misuse of this Flake,
including but not limited to:

  - Data loss or corruption
  - System failure, boot loop, or unbootable system state
  - Hardware damage resulting from misconfigured software
  - Security vulnerabilities introduced by third-party packages or modules
  - Unintended system behavior caused by the use of NixOS experimental features

THIRD-PARTY DEPENDENCIES. This Flake may resolve packages, modules, or inputs
from third-party sources (e.g., nixpkgs, home-manager, and other flake inputs).
The author(s) provide no guarantees regarding the safety, stability, or
correctness of those dependencies.

EXPERIMENTAL FEATURES. This configuration relies on Nix Flakes, which remains
an experimental feature of the Nix package manager and is subject to
breaking changes in future releases without prior notice.

PRIOR TO APPLYING THIS CONFIGURATION:
  1. Back up all critical data.
  2. Validate the configuration in a virtual machine or isolated environment.
  3. Retain previous NixOS generations via --keep-generations or by ensuring
     that the bootloader preserves rollback entries.
  4. Review all options and modules to confirm compatibility with your
     system hardware and intended use case.

This disclaimer applies to all versions of this Flake unless explicitly
superseded by a subsequent release. By using this configuration, you
acknowledge that you have read, understood, and accepted the terms stated above.

For questions, issues, or bug reports, please open an issue at:
https://github.com/farhnkrnapratma/nixos

About

A flake for my NixOS system

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages