My public NixOS configuration
Find a file
github-actions[bot] 3e804d862d flake.lock: Update
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)
2024-03-08 04:23:56 +00:00
.github/workflows feat(ci): Update update-flake-lock action to v21 2024-03-01 08:51:29 +01:00
docs feat(nvim): Provide an nixvim standalone config 2024-03-03 15:20:42 +01:00
home fix(waybar): persistent_workspaces is deprecated 2024-03-06 22:03:23 +01:00
machines fix(libra): Reenable dcdebugmask 2024-02-20 18:01:50 +01:00
nvim feat(nvim): Enable telescope extensions 2024-03-04 22:20:16 +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-08 04:23:56 +00:00
flake.nix feat(nvim): Provide an nixvim standalone config 2024-03-03 15:20:42 +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.