No description
- Nix 98.3%
- Shell 1.7%
| modules | ||
| flake.lock | ||
| flake.nix | ||
| home.nix | ||
| readme.md | ||
Isabella's nix-home
Getting started:
cd ~/.config
git clone ssh://git@forgejo.isbl.cz/isabella/home.git home-manager -b main
cd home-manager
nix run home-manager/master -- init --switch --flake .#isabella # optionally add @Host
Install nix:
curl -sSfL https://artifacts.nixos.org/nix-installer | sh -s -- install --enable-flakes
Update nix:
sudo -i nix upgrade-nix
Update lix:
sudo --preserve-env=PATH /nix/var/nix/profiles/default/bin/nix run \
--experimental-features "nix-command flakes" \
--extra-substituters https://cache.lix.systems --extra-trusted-public-keys "cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o=" \
'git+https://git.lix.systems/lix-project/lix?ref=refs/tags/2.93.2' -- \
upgrade-nix \
--extra-substituters https://cache.lix.systems --extra-trusted-public-keys "cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o="
Automatic updates:
services.home-manager.autoUpgrade runs git pull --ff-only and
home-manager switch --flake . in this directory daily, via a user timer.
Check on it with systemctl --user status home-manager-auto-upgrade.timer.