installed nodejs packages
This commit is contained in:
parent
1fbd820bf2
commit
ba349d8660
@ -1,10 +1,7 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ # Remember to close this bracket at the end of the document
|
||||
{ config, pkgs, ...
|
||||
}: { # Remember to close this bracket at the end of the document
|
||||
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
<home-manager/nixos>
|
||||
];
|
||||
imports = [ ./hardware-configuration.nix <home-manager/nixos> ];
|
||||
|
||||
networking.hostName = "workstation";
|
||||
|
||||
@ -15,9 +12,7 @@ time.timeZone = "America/Mexico_City";
|
||||
|
||||
i18n = {
|
||||
defaultLocale = "en_CA.UTF-8";
|
||||
extraLocaleSettings = {
|
||||
LC_MONETARY = "es_MX.UTF-8";
|
||||
};
|
||||
extraLocaleSettings = { LC_MONETARY = "es_MX.UTF-8"; };
|
||||
};
|
||||
console = {
|
||||
font = "Lat2-Terminus16";
|
||||
@ -42,8 +37,7 @@ environment.gnome.excludePackages = (with pkgs; [
|
||||
gnome-text-editor
|
||||
gnome-connections
|
||||
baobab
|
||||
])
|
||||
++ (with pkgs.gnome; [
|
||||
]) ++ (with pkgs.gnome; [
|
||||
totem
|
||||
gedit
|
||||
gnome-music
|
||||
@ -101,6 +95,7 @@ home-manager.users.jawz = { config, pkgs, ... }:{
|
||||
# Art
|
||||
blender # cgi animation and sculpting
|
||||
godot # game development
|
||||
# gdtoolkit # gdscript language server
|
||||
krita # art to your heart desire!
|
||||
drawpile # arty party with friends!!
|
||||
mypaint # not the best art program
|
||||
@ -220,7 +215,14 @@ adwaita-qt
|
||||
|
||||
# Fonts
|
||||
(nerdfonts.override {
|
||||
fonts = [ "Agave" "CascadiaCode" "SourceCodePro" "Ubuntu" "FiraCode" "Iosevka" ];
|
||||
fonts = [
|
||||
"Agave"
|
||||
"CascadiaCode"
|
||||
"SourceCodePro"
|
||||
"Ubuntu"
|
||||
"FiraCode"
|
||||
"Iosevka"
|
||||
];
|
||||
})
|
||||
|
||||
# (papirus-icon-theme.override {
|
||||
@ -230,7 +232,6 @@ adwaita-qt
|
||||
]) ++ (with pkgs.python310Packages; [
|
||||
black # Python code formatter
|
||||
flake8 # wraper for pyflakes, pycodestyle and mccabe
|
||||
gdtoolkit # gdscript parser
|
||||
isort # sort Python imports
|
||||
nose # testing and running python scripts
|
||||
pipx # install python packages in a virtual environment
|
||||
@ -239,6 +240,12 @@ adwaita-qt
|
||||
pylint # bug and style checker for python
|
||||
pytest # framework for writing tests
|
||||
speedtest-cli # check internet speed from the comand line
|
||||
|
||||
]) ++ (with pkgs.nodePackages; [
|
||||
dockerfile-language-server-nodejs
|
||||
markdownlint-cli
|
||||
prettier
|
||||
pnpm
|
||||
]);
|
||||
|
||||
programs.starship.enable = true;
|
||||
@ -246,12 +253,15 @@ programs.fish = {
|
||||
enable = true;
|
||||
# useBabelfish = true; This setting doens't work from inside home-manager
|
||||
shellAliases = {
|
||||
ls = "exa --icons --group-directories-first --no-permissions --no-user --no-time";
|
||||
ls =
|
||||
"exa --icons --group-directories-first --no-permissions --no-user --no-time";
|
||||
edit = "emacsclient -t";
|
||||
comic = "download -u jawz -i (cat $lc | fzf --multi --exact -i)";
|
||||
gallery = "download -u jawz -i (cat $lw | fzf --multi --exact -i)";
|
||||
open_gallery = "open (find /mnt/disk2/scrapping/JawZ/gallery-dl -type d | fzf)";
|
||||
unique_extensions = "find . -type f | string match -r '([^.\/]+)\$' | sort -u";
|
||||
open_gallery =
|
||||
"open (find /mnt/disk2/scrapping/JawZ/gallery-dl -type d | fzf)";
|
||||
unique_extensions =
|
||||
"find . -type f | string match -r '([^./]+)$' | sort -u";
|
||||
cp = "cp -i";
|
||||
mv = "mv -i";
|
||||
mkdir = "mkdir -p";
|
||||
@ -307,7 +317,8 @@ programs.bat = {
|
||||
config = {
|
||||
# map-syntax = [ "*.jenkinsfile:Groovy" "*.props:Java Properties" ];
|
||||
pager = "less -FR";
|
||||
theme = "base16"; };
|
||||
theme = "base16";
|
||||
};
|
||||
};
|
||||
|
||||
programs.git = {
|
||||
@ -327,9 +338,7 @@ programs.htop = {
|
||||
};
|
||||
xdg.configFile."htop/htoprc".source = ./dotfiles/htop/htoprc;
|
||||
|
||||
xdg = {
|
||||
enable = true;
|
||||
};
|
||||
xdg = { enable = true; };
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
# createDirectories = true;
|
||||
@ -345,7 +354,8 @@ xdg.userDirs = {
|
||||
|
||||
xdg.configFile = {
|
||||
"wgetrc".source = ./dotfiles/wget/wgetrc;
|
||||
"configstore/update-notifier-npm-check.json".source = ./dotfiles/npm/update-notifier-npm-check.json;
|
||||
"configstore/update-notifier-npm-check.json".source =
|
||||
./dotfiles/npm/update-notifier-npm-check.json;
|
||||
"npm/npmrc".source = ./dotfiles/npm/npmrc;
|
||||
"gallery-dl/config.json".source = ./dotfiles/gallery-dl/config.json;
|
||||
};
|
||||
@ -359,10 +369,7 @@ xdg.configFile = {
|
||||
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
wget
|
||||
docker-compose
|
||||
];
|
||||
environment.systemPackages = with pkgs; [ wget docker-compose ];
|
||||
|
||||
environment.sessionVariables = rec {
|
||||
# PATH
|
||||
@ -407,8 +414,8 @@ environment.sessionVariables = rec {
|
||||
PATH = [
|
||||
"\${XDG_BIN_HOME}"
|
||||
"\${XDG_CONFIG_HOME}/emacs/bin"
|
||||
# "\${XDG_DATA_HOME}/npm/bin"
|
||||
# "\${PNPM_HOME}"
|
||||
"\${XDG_DATA_HOME}/npm/bin"
|
||||
"\${PNPM_HOME}"
|
||||
# "\${SCRIPTS}"
|
||||
];
|
||||
};
|
||||
@ -425,9 +432,7 @@ programs = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
geary = {
|
||||
enable = true;
|
||||
};
|
||||
geary = { enable = true; };
|
||||
steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
@ -445,11 +450,7 @@ services = {
|
||||
fstrim.enable = true;
|
||||
btrfs.autoScrub = {
|
||||
enable = true;
|
||||
fileSystems = [
|
||||
"/"
|
||||
"/mnt/disk1"
|
||||
"/mnt/disk2"
|
||||
];
|
||||
fileSystems = [ "/" "/mnt/disk1" "/mnt/disk2" ];
|
||||
};
|
||||
openssh = {
|
||||
enable = true;
|
||||
|
||||
@ -276,6 +276,7 @@ home-manager.users.jawz = { config, pkgs, ... }:{
|
||||
# Art
|
||||
blender # cgi animation and sculpting
|
||||
godot # game development
|
||||
# gdtoolkit # gdscript language server
|
||||
krita # art to your heart desire!
|
||||
drawpile # arty party with friends!!
|
||||
mypaint # not the best art program
|
||||
@ -431,7 +432,6 @@ adwaita-qt
|
||||
]) ++ (with pkgs.python310Packages; [
|
||||
black # Python code formatter
|
||||
flake8 # wraper for pyflakes, pycodestyle and mccabe
|
||||
gdtoolkit # gdscript parser
|
||||
isort # sort Python imports
|
||||
nose # testing and running python scripts
|
||||
pipx # install python packages in a virtual environment
|
||||
@ -440,6 +440,16 @@ adwaita-qt
|
||||
pylint # bug and style checker for python
|
||||
pytest # framework for writing tests
|
||||
speedtest-cli # check internet speed from the comand line
|
||||
#+end_src
|
||||
|
||||
** NPM
|
||||
|
||||
#+begin_src nix
|
||||
]) ++ (with pkgs.nodePackages; [
|
||||
dockerfile-language-server-nodejs
|
||||
markdownlint-cli
|
||||
prettier
|
||||
pnpm
|
||||
]);
|
||||
#+end_src
|
||||
|
||||
@ -670,8 +680,8 @@ environment.sessionVariables = rec {
|
||||
PATH = [
|
||||
"\${XDG_BIN_HOME}"
|
||||
"\${XDG_CONFIG_HOME}/emacs/bin"
|
||||
# "\${XDG_DATA_HOME}/npm/bin"
|
||||
# "\${PNPM_HOME}"
|
||||
"\${XDG_DATA_HOME}/npm/bin"
|
||||
"\${PNPM_HOME}"
|
||||
# "\${SCRIPTS}"
|
||||
];
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user