mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
profiles/development: init from legacy
This commit is contained in:
parent
09f70c8537
commit
ae77e8c649
5 changed files with 47 additions and 43 deletions
|
@ -1,42 +0,0 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
# rust
|
||||
cargo
|
||||
clippy # lint
|
||||
cargo-flamegraph
|
||||
cargo-outdated
|
||||
rustfmt
|
||||
rustc
|
||||
# tools
|
||||
cloc
|
||||
direnv
|
||||
entr
|
||||
ripgrep
|
||||
# general
|
||||
clang
|
||||
cmake
|
||||
gnumake
|
||||
meson
|
||||
ninja
|
||||
valgrind
|
||||
# websites
|
||||
hugo
|
||||
# scripts
|
||||
(python3.withPackages (ps: with ps; [
|
||||
jupyter # notebooks
|
||||
matplotlib
|
||||
numpy
|
||||
pandas
|
||||
pillow
|
||||
plotly
|
||||
scikitlearn
|
||||
scipy
|
||||
tqdm # progressbar in pandas
|
||||
wheel # python development
|
||||
]))
|
||||
shellcheck
|
||||
ycmd
|
||||
woeusb-ng
|
||||
];
|
||||
}
|
|
@ -10,7 +10,6 @@
|
|||
./system.nix
|
||||
../../legacy/modules/desktop-default.nix
|
||||
../../legacy/modules/desktop-development.nix
|
||||
../../legacy/modules/development.nix
|
||||
];
|
||||
|
||||
networking.hostName = "thinkman";
|
||||
|
|
|
@ -8,6 +8,7 @@ in
|
|||
"3d-design".enable = true;
|
||||
android.enable = true;
|
||||
clean.enable = true;
|
||||
development.enable = true;
|
||||
filesystem.enable = true;
|
||||
gaming.enable = true;
|
||||
latex.enable = true;
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
./3d-design
|
||||
./android
|
||||
./clean
|
||||
./development
|
||||
./filesystem
|
||||
./gaming
|
||||
./latex
|
||||
|
|
45
profiles/development/default.nix
Normal file
45
profiles/development/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.my.profiles.development;
|
||||
in
|
||||
{
|
||||
options.my.profiles.development = with lib; {
|
||||
enable = mkEnableOption "development profile";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
# tools
|
||||
cloc
|
||||
direnv
|
||||
entr
|
||||
ripgrep
|
||||
# general
|
||||
clang
|
||||
cmake
|
||||
gnumake
|
||||
meson
|
||||
ninja
|
||||
valgrind
|
||||
# websites
|
||||
hugo
|
||||
# scripts
|
||||
(python3.withPackages (ps: with ps; [
|
||||
jupyter # notebooks
|
||||
matplotlib
|
||||
numpy
|
||||
pandas
|
||||
pillow
|
||||
plotly
|
||||
scikitlearn
|
||||
scipy
|
||||
tqdm # progressbar in pandas
|
||||
wheel # python development
|
||||
]))
|
||||
# linter
|
||||
shellcheck
|
||||
# setup
|
||||
woeusb-ng
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue