chore: move nix specific config to its own module

This commit is contained in:
Nico 2025-05-03 16:15:58 +10:00
parent 66443b7679
commit a2794a99cd
3 changed files with 10 additions and 8 deletions

9
modules/nix.nix Normal file
View file

@ -0,0 +1,9 @@
{ config, lib, pkgs, ... }:
{
# Nix Configuration
nixpkgs.config.allowUnfree = true;
# Enable nix-command and flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ];
}