moved modules into host-modules

This commit is contained in:
Leyla Becker 2024-11-24 14:55:19 -06:00
parent 755c7f0e3a
commit a755b9ff48
10 changed files with 5 additions and 5 deletions

View file

@ -0,0 +1,25 @@
{
lib,
config,
pkgs,
inputs,
...
}: {
options.host.nix-development.enable = lib.mkEnableOption "should desktop configuration be enabled";
config = lib.mkMerge [
{
host.nix-development.enable = lib.mkDefault true;
}
(lib.mkIf config.host.nix-development.enable {
nix = {
nixPath = ["nixpkgs=${inputs.nixpkgs}"];
};
environment.systemPackages = with pkgs; [
# nix langauge server
nixd
];
})
];
}