From 423c0ec85860673d9285db14189bfe5c5974fcbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 7 Nov 2024 16:52:48 +0200 Subject: [PATCH] wip start moving dev profile --- modules/profiles/desktop/default.nix | 12 +----------- modules/profiles/dev/default.nix | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 11 deletions(-) create mode 100644 modules/profiles/dev/default.nix diff --git a/modules/profiles/desktop/default.nix b/modules/profiles/desktop/default.nix index 62c6d96..1e091a2 100644 --- a/modules/profiles/desktop/default.nix +++ b/modules/profiles/desktop/default.nix @@ -10,6 +10,7 @@ let if (pkgs.stdenv.hostPlatform.system == "x86_64-linux") then pkgs.firefox-bin else pkgs.firefox; in { + imports = [ ../dev ]; config = { boot.supportedFilesystems = [ "ntfs" ]; @@ -116,17 +117,6 @@ in virtualisation.docker.enable = true; - documentation = { - dev.enable = true; - doc.enable = true; - info.enable = true; - man = { - enable = true; - man-db.enable = false; - mandoc.enable = true; - }; - }; - environment.systemPackages = with pkgs; lib.mkMerge [ diff --git a/modules/profiles/dev/default.nix b/modules/profiles/dev/default.nix new file mode 100644 index 0000000..d364d38 --- /dev/null +++ b/modules/profiles/dev/default.nix @@ -0,0 +1,17 @@ +{ config, ... }: +{ + config = { + documentation = { + dev.enable = true; + doc.enable = true; + info.enable = true; + man = { + enable = true; + man-db.enable = false; + mandoc.enable = true; + }; + }; + + }; + +}