My public NixOS configuration
Find a file
Jalil David Salamé Messina d67d20599b
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/0ad13a6833440b8e238947e47bea7f11071dc2b2' (2024-03-12)
  → 'github:NixOS/nixpkgs/b06025f1533a1e07b6db3e75151caa155d1c7eb3' (2024-03-19)
2024-03-20 08:18:02 +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-20 08:18:02 +01:00
flake.nix fix(waybar): Pin to 0.9.24 until issue is fixed 2024-03-19 08:38:01 +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
waybar.nix fix(waybar): Pin to 0.9.24 until issue is fixed 2024-03-19 08:38:01 +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.