From 917c298e5cb09e3cc8305a0d707f4b2dbf8584ad Mon Sep 17 00:00:00 2001 From: Greg Burd Date: Mon, 25 Sep 2023 15:56:58 -0400 Subject: [PATCH] vscode-server --- nixos/_mixins/global/default.nix | 11 +++++++++++ nixos/_mixins/users/gburd/default.nix | 5 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/nixos/_mixins/global/default.nix b/nixos/_mixins/global/default.nix index a19103c..5359f69 100644 --- a/nixos/_mixins/global/default.nix +++ b/nixos/_mixins/global/default.nix @@ -23,7 +23,10 @@ nixpkgs = { overlays = builtins.attrValues outputs.overlays; config = { + # Disable if you don't want unfree packages allowUnfree = true; + # Accept the joypixels license + joypixels.acceptLicense = true; }; }; @@ -53,4 +56,12 @@ value = "1048576"; } ]; + + # Only install the docs I use + documentation.enable = true; + documentation.nixos.enable = false; + documentation.man.enable = true; + documentation.info.enable = false; + documentation.doc.enable = false; + } diff --git a/nixos/_mixins/users/gburd/default.nix b/nixos/_mixins/users/gburd/default.nix index 3b8eb2a..04be37a 100644 --- a/nixos/_mixins/users/gburd/default.nix +++ b/nixos/_mixins/users/gburd/default.nix @@ -3,8 +3,9 @@ let ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups; in { - imports = [ ] - ++ lib.optionals (desktop != null) [ + imports = [ + inputs.vscode-server.nixosModules.default + ] ++ lib.optionals (desktop != null) [ ../../desktop/chromium.nix ../../desktop/chromium-extensions.nix ../../desktop/obs-studio.nix