Added python to the system environment. Added motherboard thermal sensor module thanks to Stars!

This commit is contained in:
kat witch 2020-12-08 13:38:44 +00:00 committed by kat
parent 1ef179aeb6
commit 360a9bff06
2 changed files with 14 additions and 3 deletions

View file

@ -8,7 +8,7 @@
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.kernelModules = [ "kvm-amd" "nct6775" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {

View file

@ -1,5 +1,16 @@
{ config, lib, pkgs, ... }: {
environment.systemPackages = [ pkgs.php pkgs.php74Packages.composer2 ];
{ config, lib, pkgs, ... }:
{
environment.systemPackages = let python-env = python-packages: with pkgs.python38Packages; [
pip
setuptools
psutil
]; python-with-env = pkgs.python3.withPackages python-env;
in [
pkgs.php
pkgs.php74Packages.composer2
python-with-env
];
home-manager.users.kat = {
programs.go.enable = true;