My public NixOS configuration
ea8ca1d28f
Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/0e0e9669547e45ea6cca2de4044c1a384fd0fe55' (2024-02-22) → 'github:nix-community/home-manager/2f3367769a93b226c467551315e9e270c3f78b15' (2024-02-29) • Updated input 'neovim-nightly': 'github:nix-community/neovim-nightly-overlay/c0e693f96608883cb9f2fca171c84ef2f04e52ad' (2024-02-23) → 'github:nix-community/neovim-nightly-overlay/cc9a9e3382376958422b12170c7edd78087c7a98' (2024-03-01) • Updated input 'neovim-nightly/neovim-flake': 'github:neovim/neovim/df1795cd6bdf7e1db31c87d4a33d89a2c8269560?dir=contrib' (2024-02-22) → 'github:neovim/neovim/5d4e1693cb415e8b76749e833e28f00f14630b87?dir=contrib' (2024-02-29) • Updated input 'nixneovim': 'github:NixNeovim/NixNeovim/7c794c5670e1b3ed41cefa2d598b172c3ff388c8' (2024-01-29) → 'github:NixNeovim/NixNeovim/eebce182253d8c665a8a19e0b056f6cfaf97872c' (2024-02-29) • Updated input 'nixneovim/flake-utils': 'github:numtide/flake-utils/1ef2e671c3b0c19053962c07dbda38332dcebf26' (2024-01-15) → 'github:numtide/flake-utils/d465f4819400de7c8d874d50b982301f28a84605' (2024-02-28) • Updated input 'nixneovim/nixneovimplugins': 'github:nixneovim/nixneovimplugins/4ee66f98595b46adcf656e27293eb5546be9ab6f' (2024-01-25) → 'github:nixneovim/nixneovimplugins/03cd562d0e4700216dcf8c3e14a4eebf0b2e5681' (2024-02-29) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/3f7d0bca003eac1a1a7f4659bbab9c8f8c2a0958' (2024-02-22) → 'github:NixOS/nixos-hardware/33a97b5814d36ddd65ad678ad07ce43b1a67f159' (2024-02-28) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/0e74ca98a74bc7270d28838369593635a5db3260' (2024-02-21) → 'github:NixOS/nixpkgs/9099616b93301d5cf84274b184a3a5ec69e94e08' (2024-02-28) |
||
---|---|---|
.github/workflows | ||
docs | ||
home | ||
machines | ||
nvim | ||
system | ||
.editorconfig | ||
.envrc | ||
.gitignore | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md |
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.