Skip to content

Sekky61/nix-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nix Config

Based (heavily) on CirnOS and inspired by erictossell's flake, go and give it a star!

See the docs for the original dotfiles.

Features on top of CirnOS:

  • Ollama chat tab Incomplete list of changes:
  • bash
  • alacritty
  • neovim
  • small utilities like zoxide, yazi

Usage: run ./scripts/update to update the system.

To change wallpaper, run script using Control+Super+T.

Installation

Installing the whole system

  • Please be advised that this flake includes my hardware configuration
  • So this configuration likely won't work on your device... idk
git clone https://github.com/Sekky61/nix-config && cd nix-config
IMPURITY_PATH=$(pwd) sudo --preserve-env=IMPURITY_PATH nixos-rebuild switch --flake .#michal --impure

Development and editing

AGS notes

Press Super + / to open the list of keybindings.

Very useful docs. Also look at GJS docs.

  • class corner-black makes fake rounded screen
  • class corner controls rounding of the top bar
  • Media widget: left click to show detailed controls, middle click to play/pause, right click to next track
  • To debug, I just kill the ags with ags -q and then launch it in a shell: ags
  • HTTP requests like Gemini use libsoup.

Notes

Rpi's service for wlan: systemctl status wpa_supplicant-wlan0.service

Secrets

Secrets are managed using sops-nix.

Setup and common tasks:

  • Create a .sops.yaml file etc.
  • After adding a host, run sops updatekeys secrets/secrets.yaml
  • Add a pubkey: sops rotate --in-place --add-age age1xxxxxxx modules/sops/secrets.yaml