add steam and fix python packages

This commit is contained in:
Osman Faruk Bayram 2024-10-13 21:48:26 +03:00
parent 12202c880e
commit 7c05b50e49
2 changed files with 15 additions and 5 deletions

View file

@ -121,6 +121,14 @@
# disable the database error TODO add nix-index search # disable the database error TODO add nix-index search
programs.command-not-found.enable = false; programs.command-not-found.enable = false;
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
};
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@ -138,11 +146,12 @@
tlrc tlrc
wakeonlan wakeonlan
neovim neovim
python312 (pkgs.python312.withPackages (ppkgs: [
python312Packages.torch python312Packages.torch
python312Packages.ipython python312Packages.ipython
python312Packages.numpy python312Packages.numpy
python312Packages.matplotlib python312Packages.matplotlib
]))
]; ];
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are

View file

@ -13,6 +13,7 @@
tartarus = lib.nixosSystem { tartarus = lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ ./configuration.nix ]; modules = [ ./configuration.nix ];
# revision = self.shortRev or self.dirtyShortRev or self.lastModified or "unknown";
}; };
}; };
}; };