diff --git a/home/default.nix b/home/default.nix index 42bfd7a..51b91db 100644 --- a/home/default.nix +++ b/home/default.nix @@ -4,6 +4,7 @@ imports = [ ./programs/git.nix ./programs/emacs.nix + ./programs/vscode.nix ]; home = { diff --git a/home/programs/git.nix b/home/programs/git.nix index f0556b5..9220e2b 100644 --- a/home/programs/git.nix +++ b/home/programs/git.nix @@ -1,7 +1,6 @@ +{ config, pkgs, ... }: + { - pkgs, - ... -}: { programs.git = { enable = true; userName = "Florian RICHER"; diff --git a/home/programs/vscode.nix b/home/programs/vscode.nix new file mode 100644 index 0000000..283a280 --- /dev/null +++ b/home/programs/vscode.nix @@ -0,0 +1,12 @@ +{ config, pkgs, ... }: + +{ + programs.vscode = { + enable = true; + enableUpdateCheck = false; + + extensions = with pkgs; [ + vscode-extensions.bbenoist.nix + ]; + }; +} \ No newline at end of file diff --git a/modules/system.nix b/modules/system.nix index dae1f30..89ebbc3 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -37,7 +37,7 @@ packages = with pkgs; [ firefox kate - vscode nixd + nixd slack skypeforlinux discord