Skip to content

LinuxAtChalmers/dat566-flake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DAT566 Flake

Nix flake for DAT566 .

Includes Jupyter Notebook configuration with Python 3.13, libraries for the course (NumPy, Pandas and Matplotlib) and VSCode extensions.

Installation

Add the flake input to your flake.nix:

{
  inputs.dat566.url = "github:LinuxAtChalmers/dat566-flake";
}

Add the system module to configuration.nix which will install Python with the necessary libraries:

{ pkgs, inputs, ... }:
{
  imports = [
    # import the NixOS module
    inputs.dat566.nixosModules.default
  ];
}

Also add the Home Manager module, this will install the extensions for Visual Studio Code and set the relevant paths:

{ pkgs, inputs, ... }:
{
  home-manager.users.youruser = {
    # import the home manager module
    imports = [
      inputs.dat566.homeModules.vscode
    ];
  };
}

Rebuild your system, you can now start Visual Studio Code and switch to the DAT566 profile. Everything should be set up for you.

About

Flake for DAT566 Introduction to Data Science and AI

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages