Move web dev tools out of here and into shell.nix
This commit is contained in:
parent
a1cc3e7f05
commit
dba4f3d212
|
@ -14,7 +14,6 @@
|
|||
role = "workstation";
|
||||
apps = {
|
||||
development.enable = true;
|
||||
hugo.enable = true;
|
||||
kdeconnect.enable = true;
|
||||
media.enable = true;
|
||||
office.enable = true;
|
||||
|
|
|
@ -29,7 +29,6 @@ in
|
|||
};
|
||||
dj.enable = true;
|
||||
gaming.enable = true;
|
||||
hugo.enable = true;
|
||||
kdeconnect.enable = true;
|
||||
media.enable = true;
|
||||
office.enable = true;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
./development.nix
|
||||
./dj.nix
|
||||
./gaming.nix
|
||||
./hugo.nix
|
||||
./kdeconnect.nix
|
||||
./media.nix
|
||||
./office.nix
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.host.apps.hugo;
|
||||
in
|
||||
with lib;
|
||||
{
|
||||
options = {
|
||||
host.apps.hugo.enable = mkEnableOption (mdDoc "Enables Hugo and webdev tools");
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
hugo
|
||||
rsync
|
||||
yarn
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue