move vscode to home manager
This commit is contained in:
parent
15cec27c55
commit
2c1e5715da
4 changed files with 145 additions and 141 deletions
|
@ -32,6 +32,8 @@
|
|||
};
|
||||
|
||||
hardware.nvidiaOptimus.disable = true;
|
||||
hardware.nvidia.optimus_prime.enable = false;
|
||||
hardware.bumblebee.enable = false;
|
||||
|
||||
imports = [
|
||||
/etc/nixos/hardware-configuration.nix
|
||||
|
|
|
@ -7,7 +7,6 @@ in
|
|||
imports =
|
||||
[
|
||||
<nixpkgs/nixos/modules/profiles/hardened.nix>
|
||||
./vscode.nix
|
||||
./syncthing.nix
|
||||
./gsconnect.nix
|
||||
./common-hardware.nix
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
qt = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
imports = [
|
||||
./vscode.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
passff-host
|
||||
gnome3.gnome-screenshot
|
||||
|
|
|
@ -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 @@
|
|||
}
|
||||
];})
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue