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";
|
role = "workstation";
|
||||||
apps = {
|
apps = {
|
||||||
development.enable = true;
|
development.enable = true;
|
||||||
hugo.enable = true;
|
|
||||||
kdeconnect.enable = true;
|
kdeconnect.enable = true;
|
||||||
media.enable = true;
|
media.enable = true;
|
||||||
office.enable = true;
|
office.enable = true;
|
||||||
|
|
|
@ -29,7 +29,6 @@ in
|
||||||
};
|
};
|
||||||
dj.enable = true;
|
dj.enable = true;
|
||||||
gaming.enable = true;
|
gaming.enable = true;
|
||||||
hugo.enable = true;
|
|
||||||
kdeconnect.enable = true;
|
kdeconnect.enable = true;
|
||||||
media.enable = true;
|
media.enable = true;
|
||||||
office.enable = true;
|
office.enable = true;
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
./development.nix
|
./development.nix
|
||||||
./dj.nix
|
./dj.nix
|
||||||
./gaming.nix
|
./gaming.nix
|
||||||
./hugo.nix
|
|
||||||
./kdeconnect.nix
|
./kdeconnect.nix
|
||||||
./media.nix
|
./media.nix
|
||||||
./office.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