Personal Nix flake for NixOS systems, Home Manager profiles, dotfiles, and custom helper scripts.
git clone https://github.com/jakob1379/nix-config.git
cd nix-config
./install.sh
nix developUseful commands:
nix fmt
nix flake showflake.nix— flake entrypoint, outputs, checks, dev shellhome/— Home Manager profiles, shared modules, per-system overridesnixos/— NixOS hosts, shared defaults, user modulesdotfiles/— editor, shell, browser, terminal, and desktop configsbin/— custom helper commands wrapped into packagestests/— end-to-end check forbin/nix-findand a NixOS VM test that runsinstall.shand activatesjsg@amd, both run bynix flake check(nix build .#checks.x86_64-linux.vm-installfor the VM test alone)scripts/— supporting scripts for desktop, wallpaper, SSH, and shell workflowslib/— shared helpers used by flake outputsoverlays/— package overlaysnix/— repo checks and git hook configurationarchive/— legacy/archived experiments
-
homeConfigurations— Home Manager profiles -
nixosConfigurations— NixOS host configs -
packages/apps— exported packages and runnable apps -
packages.x86_64-linux.portable-shell— static tmux and CLI tools (bat, eza, fd, fzf, ripgrep, starship, zoxide) plus the flyline bash module, with this config, for hosts without Nix:nix build .#packages.x86_64-linux.portable-shell ssh host 'mkdir -p ~/.local/portable ~/.config/tmux' rsync -rLc --chmod=u+w --delete result/ host:.local/portable/ # once: ssh host 'ln -sfn ~/.local/portable/tmux.conf ~/.config/tmux/tmux.conf' # and add to the remote ~/.bashrc: . ~/.local/portable/bashrc
-
devShells.default— development environment with hooks -
formatter/checks— formatting and validation