My NixOS installation with flake
Find a file
2024-02-20 22:47:07 +01:00
home-manager Apply wallpaper on all screens 2024-01-19 21:06:26 +01:00
hosts Adapt morty and mrmeeseeks configuration to waybar 2024-02-19 00:18:57 +01:00
modules Add zsh aliases for vifm 2024-02-20 22:47:07 +01:00
nixos Remove useless nixos includes 2024-01-09 16:18:38 +01:00
flake.lock Update packages version 2024-01-25 21:53:15 +01:00
flake.nix Add Fifefox module 2023-12-29 00:38:04 +01:00
README.md Document fetchFromGithub 2024-02-20 22:47:07 +01: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

Somes of module 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 whe have obtained the hash for the specific 1.22.0 version.