Commit Graph

62 Commits

Author SHA1 Message Date
Donovan Glover
47b5ac0d7d
nix: Remove logic from modules/default.nix
For simplicity, the first-level default.nix should be used to import all
the other modules.
2023-06-08 17:23:22 -04:00
Donovan Glover
a5941a1701
meta: Use crystal-flake for crystal development
The current crystal binary in nixpkgs complains about not finding pcre
when you try to compile anything with it, so crystal-flake is necessary
to have a working crystal environment under NixOS.

crystal-flake additionally packages crystalline, which is nice since no
one has been able to successfully create a pull request for nixpkgs yet.

Reference: https://github.com/NixOS/nixpkgs/issues/129002
2023-06-08 15:13:46 -04:00
Donovan Glover
07c0377ffa
packages: Add nixpkgs-fmt
Useful for contributing to nixpkgs.
2023-06-07 16:32:37 -04:00
Donovan Glover
d4f0a45da3
gamemode: Customize 2023-06-07 12:26:12 -04:00
Donovan Glover
433bd5b01e
meta: Remove nixos-generators
After waiting 41 minutes to produce an output iso of 6.9 GB, the iso
itself failed to boot when trying to start it. Rather than dealing with
this excruciatingly long build process, I'd much rather use nixos-rebuild
build-vm.
2023-06-06 17:03:34 -04:00
Donovan Glover
4d9a6b6877
variables: Add username 2023-06-06 10:50:42 -04:00
Donovan Glover
393e2cb241
nix: Use nix-daemon to optimize store
This *shouldn't* have a negative impact on performance, and avoids
having to remember to optimize the store periodically.
2023-06-06 08:16:27 -04:00
Donovan Glover
41571e4354
variables: Add locale 2023-06-06 08:14:52 -04:00
Donovan Glover
198ed44737
src: Add stateVersion to variables 2023-06-06 05:15:41 -04:00
Donovan Glover
7e38c259fa
meta: Replace joshuto package with overlay
This actually took *forever*, but now that I know how to write nixpkgs
overlays, any future ones I write should be relatively straight-forward.
2023-06-05 23:07:36 -04:00
Donovan Glover
a0dae2344d
nix: Use hosts directory
This may be useful if I want to try NixOS on another host in the future.
2023-06-05 21:23:28 -04:00
Donovan Glover
5cd582cdac
meta: Use src directory
There's something cool about having a separate main.nix for your NixOS
configuration.
2023-06-05 21:16:20 -04:00