My public NixOS configuration
https://jalil.salame.cl/configuration.nix
7e331ba2ca
Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/8b07ca541939211d3cc437ddfd74ebdef3d72471' (2024-03-08) → 'github:nix-community/home-manager/096d9c04b3e9438855aa65e24129b97a998bd3d9' (2024-03-14) • Updated input 'neovim-nightly': 'github:nix-community/neovim-nightly-overlay/4e6758ba6616b7b9a251d1815d858d5f4897bea4' (2024-03-08) → 'github:nix-community/neovim-nightly-overlay/1718bc91d79aed50f87933c8682099948ee4c2ec' (2024-03-15) • Updated input 'neovim-nightly/hercules-ci-effects': 'github:hercules-ci/hercules-ci-effects/0ca27bd58e4d5be3135a4bef66b582e57abe8f4a' (2024-02-21) → 'github:hercules-ci/hercules-ci-effects/9cc7ed20043adf381f1b8354c54ba667b527d538' (2024-03-13) • Updated input 'neovim-nightly/hercules-ci-effects/flake-parts': 'github:hercules-ci/flake-parts/34fed993f1674c8d06d58b37ce1e0fe5eebcb9f5' (2023-12-01) → 'github:hercules-ci/flake-parts/f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2' (2024-03-01) • Updated input 'neovim-nightly/neovim-flake': 'github:neovim/neovim/dc2379b89bd00cf7aa661e1b000d2a419843df3f?dir=contrib' (2024-03-07) → 'github:neovim/neovim/60491466f951f93d8d9010645e1dac367f3ea979?dir=contrib' (2024-03-14) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/59e37017b9ed31dee303dbbd4531c594df95cfbc' (2024-03-02) → 'github:NixOS/nixos-hardware/ad2fd7b978d5e462048729a6c635c45d3d33c9ba' (2024-03-11) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/9df3e30ce24fd28c7b3e2de0d986769db5d6225d' (2024-03-06) → 'github:NixOS/nixpkgs/0ad13a6833440b8e238947e47bea7f11071dc2b2' (2024-03-12) • Updated input 'nixvim': 'github:nix-community/nixvim/45dec97e806ecee29856cb714e5c4979b143ef94' (2024-03-07) → 'github:nix-community/nixvim/75942bc161ac573ab1b8ca4a74f97297fa26a3ec' (2024-03-14) • Updated input 'nixvim/devshell': 'github:numtide/devshell/5ddecd67edbd568ebe0a55905273e56cc82aabe3' (2024-02-26) → 'github:numtide/devshell/bc68b058dc7e6d4d6befc4ec6c60082b6e844b7d' (2024-03-11) • Updated input 'nixvim/nix-darwin': 'github:lnl7/nix-darwin/daa03606dfb5296a22e842acb02b46c1c4e9f5e7' (2024-03-04) → 'github:lnl7/nix-darwin/d9ea313bc4851670dc99c5cc979cb79750e7d670' (2024-03-12) |
||
---|---|---|
.github/workflows | ||
docs | ||
home | ||
machines | ||
nvim | ||
system | ||
.editorconfig | ||
.envrc | ||
.gitignore | ||
.typos.toml | ||
flake.lock | ||
flake.nix | ||
justfile | ||
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).
This README only has a small amount of information, if you want to see the full documentation then go to https://jalil-salame.github.com/configuration.nix. I also overengineerd this c: (if you want to copy this for your own project, then take a look at the docs folder.
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.