danielgafni / nixos

My NixOS configuration & dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NixOS Config

My NixOS configuration.

Key specs:

  • home-manager for user configuration
  • hyprland as Wayland compositor & window manager
  • eww for status bar amd some widgets
  • catppuccin theme for everything

assets/NixOS-rice.png

Warning

WIP, not documented, perhaps not usable

Usage

Installation

prerequisites: nix

The repo contains a helper justfile to assist with common NixOS management tasks. just and nom commands are required to use it. They can be installed with Nix in case they are missing:

nix-shell -p just nix-output-monitor

To test a new NixOS build, run:

just nixos-rebuild <host>

This will download, build and install system packages and configurations.

To make the build permanent, add mode=switch:

just mode=switch nixos-rebuild <host>

This will add a new boot record to the bootloader.

Files in $HOME are defined via Home Manager, which can be invoked separately:

just home <host> switch

Notes

Fonts

Purpose Name
Code Fira Code Nerd Font
UI (GTK) Cabin
Wofi Recursive

Debugging mime-type

XDG_UTILS_DEBUG_LEVEL=2 xdg-mime query filetype foo.pdf

XDG_UTILS_DEBUG_LEVEL=2 xdg-mime query default application/pdf

fd evince.desktop /

About

My NixOS configuration & dotfiles


Languages

Language:Nix 80.9%Language:Shell 12.7%Language:SCSS 3.3%Language:CSS 2.6%Language:Just 0.5%