My public NixOS configuration
Find a file
Jalil David Salamé Messina a4dbd22402
flake.lock: Update
Flake lock file updates:

• Updated input 'stylix':
    'github:jalil-salame/stylix/20e410269dc0432e6884a1a31403951abf6c155f' (2024-02-09)
  → 'github:jalil-salame/stylix/15ffecfd8374c5b2d4c77d94fa568727c7b4c769' (2024-02-16)
• Updated input 'stylix/base16':
    'github:SenchoPens/base16.nix/dddf2e1c04845d43c89a8e9e37d574519649a404' (2023-07-17)
  → 'github:SenchoPens/base16.nix/b390e87cd404e65ab4d786666351f1292e89162a' (2024-01-13)
2024-02-16 07:27:06 +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 feat(git): Extra options 2024-02-08 20:18:34 +01:00
machines feat(libra): Hide systemd-boot menu by default 2024-02-12 18:32:59 +01:00
nixos fix(fonts): Explicitely set emoji fonts 2024-02-10 11:49:36 +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-16 07:27:06 +01:00
flake.nix fix(flake): Formatting 2024-02-05 23:30:23 +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.