My public NixOS configuration
Find a file
github-actions[bot] b014b8c51b
flake.lock: Update
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)
2024-03-22 08:34:37 +01:00
.github/workflows feat(ci): Enable cache in pull requests 2024-03-17 00:35:40 +01:00
docs feat(nvim): Provide an nixvim standalone config 2024-03-03 15:20:42 +01:00
home fix(home): Breaking updates to home-manager 2024-03-17 00:17:37 +01:00
machines fix(libra): Reenable dcdebugmask 2024-02-20 18:01:50 +01:00
nvim fix(nvim): Lualine duplicated elements 2024-03-17 00:25:29 +01:00
system feat: Add jconfig.dev.enable option 2024-03-02 18:56:30 +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
.typos.toml feat(nvim): Add noice plugin (very nice) 2024-03-04 22:20:15 +01:00
flake.lock flake.lock: Update 2024-03-22 08:34:37 +01:00
flake.nix fix(waybar): Use unreleased patch 2024-03-20 08:38:45 +01:00
justfile feat: Add justfile with common commands 2024-03-01 08:24:07 +01:00
LICENSE feat: Add license 2024-01-14 18:04:01 +01:00
README.md feat(nvim): Provide an nixvim standalone config 2024-03-03 15:20:42 +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).

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.