My public NixOS configuration
Find a file
github-actions[bot] b7c498a4fe
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/3d6791b3897b526c82920a2ab5f61d71985b3cf8' (2024-02-15)
  → 'github:nix-community/home-manager/0e0e9669547e45ea6cca2de4044c1a384fd0fe55' (2024-02-22)
• Updated input 'neovim-nightly':
    'github:nix-community/neovim-nightly-overlay/1afaeebc41dab1029b855b17d78f2348e8dd49e3' (2024-02-16)
  → 'github:nix-community/neovim-nightly-overlay/c0e693f96608883cb9f2fca171c84ef2f04e52ad' (2024-02-23)
• Updated input 'neovim-nightly/hercules-ci-effects':
    'github:hercules-ci/hercules-ci-effects/d5cbf433a6ae9cae05400189a8dbc6412a03ba16' (2023-12-31)
  → 'github:hercules-ci/hercules-ci-effects/0ca27bd58e4d5be3135a4bef66b582e57abe8f4a' (2024-02-21)
• Updated input 'neovim-nightly/neovim-flake':
    'github:neovim/neovim/04dfa2eea914086a9f42a5a00a33e9524f9fded4?dir=contrib' (2024-02-15)
  → 'github:neovim/neovim/df1795cd6bdf7e1db31c87d4a33d89a2c8269560?dir=contrib' (2024-02-22)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/106d3fec43bcea19cb2e061ca02531d54b542ce3' (2024-02-16)
  → 'github:NixOS/nixos-hardware/3f7d0bca003eac1a1a7f4659bbab9c8f8c2a0958' (2024-02-22)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a4d4fe8c5002202493e87ec8dbc91335ff55552c' (2024-02-15)
  → 'github:NixOS/nixpkgs/0e74ca98a74bc7270d28838369593635a5db3260' (2024-02-21)
2024-02-23 19:26:12 +01:00
.github/workflows fixup! fix(ci): Deploy condition 2024-02-18 17:04:46 +01:00
docs feat(docs): Generate github source urls 2024-02-18 16:06:32 +01:00
home feat: Add git-absorb to dev packages 2024-02-18 21:18:22 +01:00
machines fix(libra): Reenable dcdebugmask 2024-02-20 18:01:50 +01:00
nvim fixup! feat(docs): Add neovim module documentation 2024-02-18 21:15:10 +01:00
system feat(docs): Add image preview to image options 2024-02-18 16:46:15 +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-23 19:26:12 +01:00
flake.nix fix: Rename ./nixos to ./system 2024-02-18 15:43:37 +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.