mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 19:46:17 +01:00
d3e46e5413
Signed-off-by: Magic_RB <magic_rb@redalder.org>
21 lines
365 B
Nix
21 lines
365 B
Nix
{ config, lib, pkgs, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.magic_rb.flakes;
|
|
in
|
|
{
|
|
options.magic_rb.flakes = {
|
|
enable = mkEnableOption "Enable flake support";
|
|
};
|
|
config = {
|
|
nix = let
|
|
nix = pkgs.nixFlakes;
|
|
in {
|
|
package = nix;
|
|
extraOptions = ''
|
|
experimental-features = nix-command flakes ca-references
|
|
'';
|
|
};
|
|
};
|
|
}
|