My NixOS installation with flake
Find a file
2024-09-24 10:26:22 +02:00
home-manager First working version of home-manager alone 2024-09-09 08:41:13 +02:00
hosts feat(host/luci): install cmus 2024-09-16 20:44:14 +02:00
modules feat: do not display notification when make is not available 2024-09-24 10:24:53 +02:00
nixos feat(home-manager): install qutebrowser with NixGL 2024-08-30 23:11:29 +02:00
.envrc fix(devshell): .envrc now refer to flake 2024-04-18 17:50:07 +02:00
.gitignore chore: update git ignored files 2024-04-17 16:47:39 +02:00
_typos.toml test(typos): ignore png images 2024-05-02 02:09:17 +02:00
flake.lock chore: bump packages version 2024-08-31 18:16:54 +02:00
flake.nix build: install shfmt on dev-shell 2024-09-24 10:26:22 +02:00
lefthook.yaml feat(build): add typos checking 2024-04-17 16:49:46 +02:00
README.md fix(README): fix some typos 2024-04-17 16:45:34 +02:00
taskfile.yaml feat(taskfile): add build target for home-manager 2024-08-30 21:22:17 +02:00

My NixOS configuration

My configurations for NixOS using flakes. For now only my desktop computer is configured with this system.

Install

doas nixos-rebuild switch --flake ".#mrmeeseeks"

Update the flakes.lock

nix flake update
doas nixos-rebuild switch --flake ".#mrmeeseeks"

Update manual packages from github

Some modules use fetchFromGithub who need SHA-256 hash to meet reproductibility. Theses hashed can be obtain with nix-prefetch-github:

$ nix-shell -p nix-prefetch-github
$ nix-prefetch-ghithub --rev v1.22.0 sindresorhus pure
{
    "owner": "sindresorhus",
    "repo": "pure",
    "rev": "87e6f5dd4c793f6d980532205aaefe196780606f",
    "sha256": "TR4CyBZ+KoZRs9XDmWE5lJuUXXU1J8E2Z63nt+FS+5w="
}

In this example we have obtained the hash for the specific 1.22.0 version.