My public NixOS configuration
b014b8c51b
Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/096d9c04b3e9438855aa65e24129b97a998bd3d9' (2024-03-14) → 'github:nix-community/home-manager/1c2acec99933f9835cc7ad47e35303de92d923a4' (2024-03-20) • Updated input 'neovim-nightly': 'github:nix-community/neovim-nightly-overlay/1718bc91d79aed50f87933c8682099948ee4c2ec' (2024-03-15) → 'github:nix-community/neovim-nightly-overlay/278fc96760142b5e569636776344f3af16e281ee' (2024-03-22) • Updated input 'neovim-nightly/hercules-ci-effects': 'github:hercules-ci/hercules-ci-effects/9cc7ed20043adf381f1b8354c54ba667b527d538' (2024-03-13) → 'github:hercules-ci/hercules-ci-effects/64e7763d72c1e4c1e5e6472640615b6ae2d40fbf' (2024-03-15) • Updated input 'neovim-nightly/neovim-flake': 'github:neovim/neovim/60491466f951f93d8d9010645e1dac367f3ea979?dir=contrib' (2024-03-14) → 'github:neovim/neovim/15c6909bb198ca8a1a22405a4a7e96357716e57e?dir=contrib' (2024-03-21) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/ad2fd7b978d5e462048729a6c635c45d3d33c9ba' (2024-03-11) → 'github:NixOS/nixos-hardware/1e679b9a9970780cd5d4dfe755a74a8f96d33388' (2024-03-18) • Updated input 'nixvim': 'github:nix-community/nixvim/75942bc161ac573ab1b8ca4a74f97297fa26a3ec' (2024-03-14) → 'github:nix-community/nixvim/4f6e90212c7ec56d7c03611fb86befa313e7f61f' (2024-03-20) • Updated input 'nixvim/nix-darwin': 'github:lnl7/nix-darwin/d9ea313bc4851670dc99c5cc979cb79750e7d670' (2024-03-12) → 'github:lnl7/nix-darwin/bcc8afd06e237df060c85bad6af7128e05fd61a3' (2024-03-17) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/5df5a70ad7575f6601d91f0efec95dd9bc619431' (2024-02-15) → 'github:cachix/pre-commit-hooks.nix/e611897ddfdde3ed3eaac4758635d7177ff78673' (2024-03-20) • Updated input 'pre-commit-hooks/flake-utils': 'github:numtide/flake-utils/4022d587cbbfd70fe950c1e2083a02621806a725' (2023-12-04) → 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11) • Updated input 'pre-commit-hooks/gitignore': 'github:hercules-ci/gitignore.nix/43e1aa1308018f37118e34d3a9cb4f5e75dc11d5' (2023-12-29) → 'github:hercules-ci/gitignore.nix/637db329424fd7e46cf4185293b9cc8c88c95394' (2024-02-28) • Updated input 'pre-commit-hooks/nixpkgs-stable': 'github:NixOS/nixpkgs/3dc440faeee9e889fe2d1b4d25ad0f430d449356' (2024-01-10) → 'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3' (2024-03-17) |
||
---|---|---|
.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.