My public NixOS configuration
3e804d862d
Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/2f3367769a93b226c467551315e9e270c3f78b15' (2024-02-29) → 'github:nix-community/home-manager/cf111d1a849ddfc38e9155be029519b0e2329615' (2024-03-06) • Updated input 'neovim-nightly': 'github:nix-community/neovim-nightly-overlay/cc9a9e3382376958422b12170c7edd78087c7a98' (2024-03-01) → 'github:nix-community/neovim-nightly-overlay/4e6758ba6616b7b9a251d1815d858d5f4897bea4' (2024-03-08) • Updated input 'neovim-nightly/flake-parts': 'github:hercules-ci/flake-parts/b253292d9c0a5ead9bc98c4e9a26c6312e27d69f' (2024-02-01) → 'github:hercules-ci/flake-parts/f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2' (2024-03-01) • Updated input 'neovim-nightly/neovim-flake': 'github:neovim/neovim/5d4e1693cb415e8b76749e833e28f00f14630b87?dir=contrib' (2024-02-29) → 'github:neovim/neovim/dc2379b89bd00cf7aa661e1b000d2a419843df3f?dir=contrib' (2024-03-07) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/33a97b5814d36ddd65ad678ad07ce43b1a67f159' (2024-02-28) → 'github:NixOS/nixos-hardware/59e37017b9ed31dee303dbbd4531c594df95cfbc' (2024-03-02) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/9099616b93301d5cf84274b184a3a5ec69e94e08' (2024-02-28) → 'github:NixOS/nixpkgs/9df3e30ce24fd28c7b3e2de0d986769db5d6225d' (2024-03-06) • Updated input 'nixvim': 'github:nix-community/nixvim/274293fd691250ab96985aa4a04c653ab462876e' (2024-03-02) → 'github:nix-community/nixvim/45dec97e806ecee29856cb714e5c4979b143ef94' (2024-03-07) • Updated input 'nixvim/flake-parts': 'github:hercules-ci/flake-parts/b253292d9c0a5ead9bc98c4e9a26c6312e27d69f' (2024-02-01) → 'github:hercules-ci/flake-parts/f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2' (2024-03-01) • Updated input 'nixvim/nix-darwin': 'github:lnl7/nix-darwin/6c06334f0843c7300d1678726bb607ce526f6b36' (2024-02-27) → 'github:lnl7/nix-darwin/daa03606dfb5296a22e842acb02b46c1c4e9f5e7' (2024-03-04) |
||
---|---|---|
.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.