My NixOS installation with flake
Find a file
2026-04-21 09:10:46 +02:00
home-manager refactor: rewrite modules and related host integration 2026-03-08 18:59:09 +01:00
hosts chore(work): add a kanshi screen configuration 2026-04-21 09:10:46 +02:00
modules chore(home-manager): update yamlls configuration 2026-04-21 09:10:45 +02:00
nixos refactor: rewrite modules and related host integration 2026-03-08 18:59:09 +01: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 refactor: rewrite modules and related host integration 2026-03-08 18:59:09 +01:00
flake.lock feat(home-manager): add senpai module 2026-03-22 21:32:46 +01:00
flake.nix feat: use nixos-facter for morty host 2026-02-22 22:16:01 +01:00
lefthook.yaml ci: shell formatter check is on part with editor one 2025-02-04 18:07:14 +01:00
README.md refactor: rework taskfile 2026-01-24 21:16:42 +01:00
Taskfile.dist.yaml refactor: rework taskfile 2026-01-24 21:16:42 +01:00

My NixOS configuration

My machines and dotfiles management using Nix / NixOS.

Installation

Project contains a devshell installing all needed and a Taskfile is available to help manage elements whether Home-Manager or NixOS configuration.

task --list-all
task: Available tasks for this project:
* check:flake:               Check flake
* check:sh:                  Check SH files, will call all check:sh:* tasks
* check:sh:shellcheck:       Pass Shellcheck on all *.sh files
* check:sh:shfmt:            Pass shfmt in check mode on all sh files
* check:typos:               Check typos in all files
* home:*:*:                  Manage Home-Manager configuration, use home:verb:target format
* home:gc:                   Garbage collect Home-Manager packages
* home:list-gen:             List Home-Manager generations
* host:*:*:                  Switch both Home-Manager and NixOS generations
* host:update:*:             Update packages repositories version
* nixos:*:*:                 Manage NixOS build, use nixos:verb:target format
* nixos:gc:                  Garbage collect NixOS
* nixos:list-gen:            List Nixos generations

Managing NixOS installation, you can use all nixos:* targets for example:

# build mrmeeseeks nixos:
task nixos:build:mrmeeseeks

# build/switch nixos installation for mrmeeseeks
task nixos:switch:mrmeeseeks

The same applies for Home-Manager:

# build home configuration for mrmeeseeks:
task home:build:mrmeeseeks

# build / switch ephase home configuration for mrmeeseeks
task home:switch:mrmeeseeks

Update nixpkgs version

Update packages repositories version can be done with host:update:<hostname>:

task host:update:mrmeeseeks

flake.lock file will be updated then both NixOS and Home-Manager will be rebuilt. Note than new generation will not be activated, to do so you need to:

task host:switch:mrmeeseeks