Skip to content

๐Ÿš Peak Riced NixOS Configuration. โ„๏ธ

License

Notifications You must be signed in to change notification settings

TheRiceCold/dots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Last nix update: July 05, 2024

Nix dots



โ€ƒ
โ€ƒOverviewโ€ƒ
โ€ƒ
โ€ƒ โ€ƒ
โ€ƒInstallationโ€ƒ
โ€ƒ
โ€ƒ โ€ƒ
โ€ƒCommandsย 
โ€ƒ
โ€ƒ โ€ƒ
โ€ƒAcknowledgementsย 
โ€ƒ

Showcase

๐Ÿ’ป Desktop

showcase.mp4
View details

Window Manager: Hyprland
Desktop Environment: Kaizen

๐Ÿ‘จโ€๐Ÿ’ป Development Setup

View details

Text editor: Kaivim
Terminal Multiplexer: [Zellij]
Scratchpad: Pyprland's scratchpad

๐Ÿ—ƒ๏ธ Archived but still cool

Hyprlock

back to top

Note

This is my personal configuration for my setup. If something doesn't work, feel free to open up an issue or message me.

โ„๏ธ Flake Overview

Inputs

Outputs

๐Ÿ’ป Nixos: configuration for all hosts.

To switch host cd to dots directory and run nix-switch <hostname>.




  • Minimo: Lightweight configuration for the minimalist.

๐Ÿ  Home: Home configurations for users and hosts.

To switch home by cd to dots directory and run hm-switch.




back to top

๐Ÿซ• How to cook (Installation)

Initial Steps

Quick Installation

  • Connecting to Wi-Fi.
iwctl --passphrase <passphrase> station <device> connect <SSID>
  • Clone repo: git clone https://github.com/thericecold/dots
  • Generate configuration : nixos-generate-config --root /mnt
  • Copy hardware configuration:
  cp /mnt/etc/nixos/hardware-configuration.nix /mnt/etc/nixos/nixos-config/hosts/<host>
  • Nixos Install: nixos-install --flake kaizen
  • Home Manager: hm-switch

back to top

๐Ÿง‘โ€๐Ÿ’ป Shell Commands

Aliases

  • x: exit
  • v: nvim
  • f: fuck
  • c: clear
  • np: nix profile
  • hm: home-manager
  • nix-up: doas nix flake update
  • hm-switch: git add . ; nh home switch
  • nix-rollback: doas nixos-rebuild switch --rollback

Functions

  • Update an input included in flake.nix file.
nix-up-input <input> # Example: nix-update-input nixpkgs
  • Upgrade a nix profile.

NOTE: run nix profile list to see the profile index

nix-upgrade <index> # Example: nix-upgrade 3
  • Rebuild switch a NixOS host.

NOTE: There are only two host; kaizen and minimo

nix-switch <hostname> # Example: nix-switch kaizen
  • Cleanup and rebuild switch a NixOS host.
nix-clean-switch <hostname> # Example: nix-clean-switch kaizen
  • Update flake inputs and rebuild switch a NixOS host.
nix-up-switch <hostname> # Example: nix-up-switch kaizen
  • Cleanup, update flake inputs and rebuild switch a NixOS host.
nix-full-switch <hostname> # Example: nix-full-switch kaizen
nixpkgs-add <package> # Example: nixpkgs-add firefox
  • Install a nix flake github repository.
nixgit-add <username/repository> # Example: nixgit-add thericecold/kaivim

back to top

๐Ÿ™ Acknowledgements