kenji 2d69f55eba n
2025-07-01 09:22:28 -05:00
2025-06-30 15:19:13 -05:00
2025-06-30 14:37:42 -05:00
2025-07-01 08:57:33 -05:00
n
2025-07-01 09:22:28 -05:00
2025-06-28 21:00:01 -05:00
n
2025-07-01 09:22:28 -05:00
2025-06-30 12:54:23 -05:00
2025-06-30 13:31:00 -05:00
2025-07-01 08:57:33 -05:00
2025-07-01 08:57:33 -05:00
2025-06-28 17:45:45 -05:00

Sakamoto NixOS

Sakamoto NixOS is built with various profiles intended for reproducibility.

Available Hosts

  • MacBook M series
  • Linux

Installation

  1. Install Nix.

  2. Ensure Nix is installed properly by running the following (this also gives you nano for editing later):

    nix-shell -p nano
    
  3. Clone the git repository:

    git clone https://git.sakamoto.dev/kenji/nixos.git ~/.config/nixos && cd ~/.config/nixos/
    
  4. Copy info.default.nix and rename it to info.local.nix:

    cp ~/.config/nixos/info.default.nix ~/.config/nixos/info.local.nix
    

    🚨 CRITICAL STEP: Edit info.local.nix:

    nano ~/.config/nixos/info.local.nix
    

    Modify it to fit your system — especially your username.
    If you accidentally leave the default biscuit, that user will be created.
    Login password for biscuit is Your-generic-password.

  5. Execute the following command based on your host:

    • MacBook M series:

      sudo nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake ~/.config/nixos#macos
      
    • Linux:

      sudo nixos-rebuild --flake ~/.config/nixos#desktop --impure
      sudo nix run home-manager -- init --switch
      home-manager switch --flake ~/.config/nixos#desktop --impure
      nix-channel --add https://nixos.org/channels/nixos-unstable nixos nix-channel --update 
      reboot
      
S
Description
A modular, flake-based NixOS configuration for hosts. Heavily inspired by OmarchyOS.
Readme 45 MiB
Languages
Nix 97.3%
Shell 2.7%