installed python packages
This commit is contained in:
parent
92a2b959d7
commit
1fbd820bf2
@ -1,7 +1,10 @@
|
|||||||
{ config, pkgs, ...
|
{ config, pkgs, ... }:
|
||||||
}: { # Remember to close this bracket at the end of the document
|
{ # 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";
|
networking.hostName = "workstation";
|
||||||
|
|
||||||
@ -12,7 +15,9 @@
|
|||||||
|
|
||||||
i18n = {
|
i18n = {
|
||||||
defaultLocale = "en_CA.UTF-8";
|
defaultLocale = "en_CA.UTF-8";
|
||||||
extraLocaleSettings = { LC_MONETARY = "es_MX.UTF-8"; };
|
extraLocaleSettings = {
|
||||||
|
LC_MONETARY = "es_MX.UTF-8";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
console = {
|
console = {
|
||||||
font = "Lat2-Terminus16";
|
font = "Lat2-Terminus16";
|
||||||
@ -37,7 +42,8 @@
|
|||||||
gnome-text-editor
|
gnome-text-editor
|
||||||
gnome-connections
|
gnome-connections
|
||||||
baobab
|
baobab
|
||||||
]) ++ (with pkgs.gnome; [
|
])
|
||||||
|
++ (with pkgs.gnome; [
|
||||||
totem
|
totem
|
||||||
gedit
|
gedit
|
||||||
gnome-music
|
gnome-music
|
||||||
@ -90,7 +96,7 @@
|
|||||||
home-manager.users.jawz = { config, pkgs, ... }:{
|
home-manager.users.jawz = { config, pkgs, ... }:{
|
||||||
# imports = [ ./dotfiles/dconf.nix ];
|
# imports = [ ./dotfiles/dconf.nix ];
|
||||||
home.stateVersion = "22.11";
|
home.stateVersion = "22.11";
|
||||||
home.packages = with pkgs; [
|
home.packages = (with pkgs; [
|
||||||
|
|
||||||
# Art
|
# Art
|
||||||
blender # cgi animation and sculpting
|
blender # cgi animation and sculpting
|
||||||
@ -158,6 +164,7 @@
|
|||||||
rmlint # probably my favourite app, amazing dupe finder that integrates well with BTRFS
|
rmlint # probably my favourite app, amazing dupe finder that integrates well with BTRFS
|
||||||
tldr # man for retards
|
tldr # man for retards
|
||||||
ffmpegthumbnailer # create video thumbnails for nautilus, in absence of totem
|
ffmpegthumbnailer # create video thumbnails for nautilus, in absence of totem
|
||||||
|
vcsi # video thumbnails for torrents, can I replace it with ^?
|
||||||
mediainfo # technical info about videos, needed by some of my scripts
|
mediainfo # technical info about videos, needed by some of my scripts
|
||||||
tree-sitter # code parsing, required by Doom emacs
|
tree-sitter # code parsing, required by Doom emacs
|
||||||
xdg-ninja # help declutter $HOME
|
xdg-ninja # help declutter $HOME
|
||||||
@ -185,7 +192,7 @@
|
|||||||
|
|
||||||
# PYTHON.
|
# PYTHON.
|
||||||
python3 # base language
|
python3 # base language
|
||||||
python310Packages.pipx
|
pipenv # python development workflow for humans
|
||||||
|
|
||||||
# C# & Rust
|
# C# & Rust
|
||||||
omnisharp-roslyn
|
omnisharp-roslyn
|
||||||
@ -213,35 +220,38 @@
|
|||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
(nerdfonts.override {
|
(nerdfonts.override {
|
||||||
fonts = [
|
fonts = [ "Agave" "CascadiaCode" "SourceCodePro" "Ubuntu" "FiraCode" "Iosevka" ];
|
||||||
"Agave"
|
|
||||||
"CascadiaCode"
|
|
||||||
"SourceCodePro"
|
|
||||||
"Ubuntu"
|
|
||||||
"FiraCode"
|
|
||||||
"Iosevka"
|
|
||||||
];
|
|
||||||
})
|
})
|
||||||
|
|
||||||
# (papirus-icon-theme.override {
|
# (papirus-icon-theme.override {
|
||||||
# color = "grey";
|
# color = "grey";
|
||||||
# })
|
# })
|
||||||
];
|
|
||||||
|
]) ++ (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
|
||||||
|
poetry # dependency management made easy
|
||||||
|
pyflakes # checks source code for errors
|
||||||
|
pylint # bug and style checker for python
|
||||||
|
pytest # framework for writing tests
|
||||||
|
speedtest-cli # check internet speed from the comand line
|
||||||
|
]);
|
||||||
|
|
||||||
programs.starship.enable = true;
|
programs.starship.enable = true;
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# useBabelfish = true; This setting doens't work from inside home-manager
|
# useBabelfish = true; This setting doens't work from inside home-manager
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ls =
|
ls = "exa --icons --group-directories-first --no-permissions --no-user --no-time";
|
||||||
"exa --icons --group-directories-first --no-permissions --no-user --no-time";
|
|
||||||
edit = "emacsclient -t";
|
edit = "emacsclient -t";
|
||||||
comic = "download -u jawz -i (cat $lc | fzf --multi --exact -i)";
|
comic = "download -u jawz -i (cat $lc | fzf --multi --exact -i)";
|
||||||
gallery = "download -u jawz -i (cat $lw | fzf --multi --exact -i)";
|
gallery = "download -u jawz -i (cat $lw | fzf --multi --exact -i)";
|
||||||
open_gallery =
|
open_gallery = "open (find /mnt/disk2/scrapping/JawZ/gallery-dl -type d | fzf)";
|
||||||
"open (find /mnt/disk2/scrapping/JawZ/gallery-dl -type d | fzf)";
|
unique_extensions = "find . -type f | string match -r '([^.\/]+)\$' | sort -u";
|
||||||
unique_extensions =
|
|
||||||
"find . -type f | string match -r '([^./]+)$' | sort -u";
|
|
||||||
cp = "cp -i";
|
cp = "cp -i";
|
||||||
mv = "mv -i";
|
mv = "mv -i";
|
||||||
mkdir = "mkdir -p";
|
mkdir = "mkdir -p";
|
||||||
@ -297,8 +307,7 @@
|
|||||||
config = {
|
config = {
|
||||||
# map-syntax = [ "*.jenkinsfile:Groovy" "*.props:Java Properties" ];
|
# map-syntax = [ "*.jenkinsfile:Groovy" "*.props:Java Properties" ];
|
||||||
pager = "less -FR";
|
pager = "less -FR";
|
||||||
theme = "base16";
|
theme = "base16"; };
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
@ -318,7 +327,9 @@
|
|||||||
};
|
};
|
||||||
xdg.configFile."htop/htoprc".source = ./dotfiles/htop/htoprc;
|
xdg.configFile."htop/htoprc".source = ./dotfiles/htop/htoprc;
|
||||||
|
|
||||||
xdg = { enable = true; };
|
xdg = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
xdg.userDirs = {
|
xdg.userDirs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# createDirectories = true;
|
# createDirectories = true;
|
||||||
@ -334,8 +345,7 @@
|
|||||||
|
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
"wgetrc".source = ./dotfiles/wget/wgetrc;
|
"wgetrc".source = ./dotfiles/wget/wgetrc;
|
||||||
"configstore/update-notifier-npm-check.json".source =
|
"configstore/update-notifier-npm-check.json".source = ./dotfiles/npm/update-notifier-npm-check.json;
|
||||||
./dotfiles/npm/update-notifier-npm-check.json;
|
|
||||||
"npm/npmrc".source = ./dotfiles/npm/npmrc;
|
"npm/npmrc".source = ./dotfiles/npm/npmrc;
|
||||||
"gallery-dl/config.json".source = ./dotfiles/gallery-dl/config.json;
|
"gallery-dl/config.json".source = ./dotfiles/gallery-dl/config.json;
|
||||||
};
|
};
|
||||||
@ -349,7 +359,10 @@
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ wget docker-compose ];
|
environment.systemPackages = with pkgs; [
|
||||||
|
wget
|
||||||
|
docker-compose
|
||||||
|
];
|
||||||
|
|
||||||
environment.sessionVariables = rec {
|
environment.sessionVariables = rec {
|
||||||
# PATH
|
# PATH
|
||||||
@ -412,7 +425,9 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
enableSSHSupport = true;
|
enableSSHSupport = true;
|
||||||
};
|
};
|
||||||
geary = { enable = true; };
|
geary = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
steam = {
|
steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
remotePlay.openFirewall = true;
|
remotePlay.openFirewall = true;
|
||||||
@ -430,7 +445,11 @@
|
|||||||
fstrim.enable = true;
|
fstrim.enable = true;
|
||||||
btrfs.autoScrub = {
|
btrfs.autoScrub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
fileSystems = [ "/" "/mnt/disk1" "/mnt/disk2" ];
|
fileSystems = [
|
||||||
|
"/"
|
||||||
|
"/mnt/disk1"
|
||||||
|
"/mnt/disk2"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
openssh = {
|
openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@ -264,10 +264,13 @@ necessary.
|
|||||||
home-manager.users.jawz = { config, pkgs, ... }:{
|
home-manager.users.jawz = { config, pkgs, ... }:{
|
||||||
# imports = [ ./dotfiles/dconf.nix ];
|
# imports = [ ./dotfiles/dconf.nix ];
|
||||||
home.stateVersion = "22.11";
|
home.stateVersion = "22.11";
|
||||||
home.packages = with pkgs; [
|
home.packages = (with pkgs; [
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** GUI PACKAGES
|
*** GUI PACKAGES :ATTACH:
|
||||||
|
:PROPERTIES:
|
||||||
|
:ID: d5a59b97-4c99-4813-9583-4bdbc978dbad
|
||||||
|
:END:
|
||||||
|
|
||||||
#+begin_src nix
|
#+begin_src nix
|
||||||
# Art
|
# Art
|
||||||
@ -340,6 +343,7 @@ neofetch # use once for brag, never again
|
|||||||
rmlint # probably my favourite app, amazing dupe finder that integrates well with BTRFS
|
rmlint # probably my favourite app, amazing dupe finder that integrates well with BTRFS
|
||||||
tldr # man for retards
|
tldr # man for retards
|
||||||
ffmpegthumbnailer # create video thumbnails for nautilus, in absence of totem
|
ffmpegthumbnailer # create video thumbnails for nautilus, in absence of totem
|
||||||
|
vcsi # video thumbnails for torrents, can I replace it with ^?
|
||||||
mediainfo # technical info about videos, needed by some of my scripts
|
mediainfo # technical info about videos, needed by some of my scripts
|
||||||
tree-sitter # code parsing, required by Doom emacs
|
tree-sitter # code parsing, required by Doom emacs
|
||||||
xdg-ninja # help declutter $HOME
|
xdg-ninja # help declutter $HOME
|
||||||
@ -371,7 +375,7 @@ nixfmt # linting
|
|||||||
|
|
||||||
# PYTHON.
|
# PYTHON.
|
||||||
python3 # base language
|
python3 # base language
|
||||||
python310Packages.pipx
|
pipenv # python development workflow for humans
|
||||||
|
|
||||||
# C# & Rust
|
# C# & Rust
|
||||||
omnisharp-roslyn
|
omnisharp-roslyn
|
||||||
@ -419,7 +423,24 @@ adwaita-qt
|
|||||||
# (papirus-icon-theme.override {
|
# (papirus-icon-theme.override {
|
||||||
# color = "grey";
|
# color = "grey";
|
||||||
# })
|
# })
|
||||||
];
|
#+end_src
|
||||||
|
|
||||||
|
** PYTHON
|
||||||
|
|
||||||
|
#+begin_src nix
|
||||||
|
]) ++ (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
|
||||||
|
poetry # dependency management made easy
|
||||||
|
pyflakes # checks source code for errors
|
||||||
|
pylint # bug and style checker for python
|
||||||
|
pytest # framework for writing tests
|
||||||
|
speedtest-cli # check internet speed from the comand line
|
||||||
|
]);
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** DOTFILES
|
** DOTFILES
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user