mirror of
https://github.com/ivabus/nixos
synced 2024-11-25 09:55:05 +03:00
Move python3full to base.nix to fix some things
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
9a5e3dbda2
commit
4146f35a5b
2 changed files with 3 additions and 8 deletions
|
@ -24,15 +24,14 @@ in {
|
||||||
man.enable = true;
|
man.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# mkDefaulting due to python3Minimal and python3Full collision
|
environment.systemPackages = with pkgs;
|
||||||
environment.systemPackages = lib.mkDefault (with pkgs;
|
[ wget curl git git-crypt neovim python3Full ]
|
||||||
[ wget curl git git-crypt neovim python3Minimal ]
|
|
||||||
++ lib.optionals pkgs.stdenv.isLinux [
|
++ lib.optionals pkgs.stdenv.isLinux [
|
||||||
usbutils
|
usbutils
|
||||||
pciutils
|
pciutils
|
||||||
coreutils
|
coreutils
|
||||||
killall
|
killall
|
||||||
]);
|
];
|
||||||
# Inject secrets through module arguments while evaluating configs.
|
# Inject secrets through module arguments while evaluating configs.
|
||||||
_module.args.secrets = secrets;
|
_module.args.secrets = secrets;
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,6 @@ in {
|
||||||
clang
|
clang
|
||||||
llvm
|
llvm
|
||||||
lld
|
lld
|
||||||
python3Full
|
|
||||||
gnumake
|
gnumake
|
||||||
automake
|
automake
|
||||||
autoconf
|
autoconf
|
||||||
|
@ -36,9 +35,6 @@ in {
|
||||||
(lib.mkIf (!pkgs.stdenv.isx86_64) {
|
(lib.mkIf (!pkgs.stdenv.isx86_64) {
|
||||||
boot.binfmt.emulatedSystems = [ "x86_64-linux" "i686-linux" ];
|
boot.binfmt.emulatedSystems = [ "x86_64-linux" "i686-linux" ];
|
||||||
})
|
})
|
||||||
(lib.mkIf (builtins.currentSystem != "riscv64-linux") {
|
|
||||||
boot.binfmt.emulatedSystems = [ "riscv64-linux" ];
|
|
||||||
})
|
|
||||||
|
|
||||||
/* # Install CLion only if we are on x86_64
|
/* # Install CLion only if we are on x86_64
|
||||||
(lib.mkIf (pkgs.stdenv.isx86_64) {
|
(lib.mkIf (pkgs.stdenv.isx86_64) {
|
||||||
|
|
Loading…
Reference in a new issue