My public NixOS configuration https://jalil.salame.cl/configuration.nix
Find a file
Jalil David Salamé Messina 679db589c2
flake.lock: Update
Flake lock file updates:

• Updated input 'nvim-config':
    'github:jalil-salame/nvim-config/3e6051b3f35b069b3b3957207a421e9f53af79bd' (2024-02-01)
  → 'github:jalil-salame/nvim-config/1edc2c0796fb0528e9ad43927c2dec80660af854' (2024-02-05)
2024-02-05 23:29:46 +01:00
.github/workflows fix(ci): Disable nix cache on pull requests 2024-02-02 15:14:13 +01:00
docs feat(docs): Preprocess with mdbook-toc 2024-02-01 22:10:40 +01:00
home fix(#5): Separate gpg keygrip from keyID 2024-02-02 14:54:40 +01:00
machines fix(gemini): Remove EoP workaround 2024-01-29 19:08:09 +01:00
nixos fix(xdg-portals): Issue opening urls 2024-02-05 20:41:09 +01:00
.editorconfig feat: Add editorconfig file 2024-01-21 20:56:10 +01:00
.envrc feat: Add a bunch of precommit hooks 2024-01-15 23:59:15 +01:00
.gitignore feat: Add a bunch of precommit hooks 2024-01-15 23:59:15 +01:00
flake.lock flake.lock: Update 2024-02-05 23:29:46 +01:00
flake.nix feat(flake): Check for typos 2024-02-01 22:10:40 +01:00
LICENSE feat: Add license 2024-01-14 18:04:01 +01:00
README.md feat(README): Add instructions to build a test vm 2024-02-02 13:58:22 +01:00

My NixOS Configuration as a NixOS module

This is only intended for my use, but you can see how I overengineer stuff by looking at it :p (maybe you can also learn some stuff on the way).

Try out in a VM

If you already have nix you can run the following commands:

$ nix run nixpkgs#nixos-rebuild -- build-vm --flake .#vm
building the system configuration...

Done.  The virtual machine can be started by running /nix/store/$hash-nixos-vm/bin/run-nixos-vm
$ /nix/store/$hash-nixos-vm/bin/run-nixos-vm -vga virtio

The default user is jdoe and the default password is example.

Note

The -vga virtio flag is important, sway won't run if it is missing.