move vscode to home manager

This commit is contained in:
Cyryl Płotnicki 2020-05-02 09:18:11 +01:00
parent 15cec27c55
commit 2c1e5715da
4 changed files with 145 additions and 141 deletions

View file

@ -32,6 +32,8 @@
};
hardware.nvidiaOptimus.disable = true;
hardware.nvidia.optimus_prime.enable = false;
hardware.bumblebee.enable = false;
imports = [
/etc/nixos/hardware-configuration.nix

View file

@ -7,7 +7,6 @@ in
imports =
[
<nixpkgs/nixos/modules/profiles/hardened.nix>
./vscode.nix
./syncthing.nix
./gsconnect.nix
./common-hardware.nix

View file

@ -11,6 +11,11 @@
qt = {
enable = true;
};
imports = [
./vscode.nix
];
home.packages = with pkgs; [
passff-host
gnome3.gnome-screenshot

View file

@ -1,7 +1,6 @@
{ config, pkgs, ... }:
{
users.users.cyryl = {
packages = with pkgs; [
home.packages = with pkgs; [
(vscode-with-extensions.override {
vscodeExtensions = with vscode-extensions; [ bbenoist.Nix ]
++ vscode-utils.extensionsFromVscodeMarketplace [
@ -139,5 +138,4 @@
}
];})
];
};
}