Skip to content

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

About

🍚 Peak Riced NixOS Configuration. ❄️

Topics

Resources

License

Stars

Watchers

Forks