My NixOS installation with flake
Find a file
2024-11-09 22:22:42 +01:00
home-manager refactor: separate NixOS and Home-Manager configuration 2024-10-09 10:40:39 +02:00
hosts feat(home-manager): add webdav module 2024-10-08 00:09:18 +02:00
modules feat(home-manager): add webdav module 2024-10-08 00:09:18 +02:00
nixos refactor: separate NixOS and Home-Manager configuration 2024-10-09 10:40:39 +02:00
secrets feat(home-manager): add webdav module 2024-10-08 00:09:18 +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
.sops.yaml feat: add sops-nix input 2024-10-08 00:09:18 +02:00
_typos.toml test(typos): ignore png images 2024-05-02 02:09:17 +02:00
flake.lock feat: add sops-nix input 2024-10-08 00:09:18 +02:00
flake.nix chore: simplify home-manager target name 2024-11-09 22:22:42 +01:00
lefthook.yaml feat: check shell script with git hook 2024-11-09 22:22:37 +01:00
README.md fix(README): fix some typos 2024-04-17 16:45:34 +02:00
Taskfile.dist.yaml feat(taskfile): improve targets management 2024-11-09 22:22:42 +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

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.