birdmanmandbir / nix

NixOS configuration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File Structure

  • configuration.nix: for init nix without flake
  • flake.nix: index nix config
  • home.nix: home-manager template from @ryan4yin
  • proxy.sh: use in root (wsl)

TODOS

important

  • gh client + ssh
    • gh-q?
    • gh-fuzzyclone
  • git public key
  • devbox
  • charm mods envs (maybe with nix secret?)
  • decouple hosts (wsl/pc)

list

  • config lsp language servers for helix
  • fonts
  • theme
  • fcitx
  • use nix to download notes/codes with git (post install hook, run once when finish?)
  • http env proxy?
  • how to know which tool is in nixos repository/home.pkgs, like gum/glow/cue?
  • more git command line tool?
  • english word card for programer based on cue? but need a new name for nix
  • ssh remote desktop?
  • add charm card tool to nixpkgs?

finish

  • use zsh as default shell
  • alias
  • nix + charm
  • lsp

Problems

$NIX_PATH not found

nix-channel --add https://mirrors.ustc.edu.cn/nix-channels/nixos-23.05 nixos
nix-channel --add https://mirrors.ustc.edu.cn/nix-channels/nixpkgs-unstable nixpkgs
nix-channel --update

sudo nixos-rebuild switch

Commands

# collect garbages
sudo nix-collect-garbage -d

About

NixOS configuration


Languages

Language:Nix 98.2%Language:Shell 1.8%