Compare commits
2 Commits
10381b5e47
...
5a889d63f0
Author | SHA1 | Date |
---|---|---|
David Crompton | 5a889d63f0 | |
David Crompton | b61299b0b2 |
|
@ -34,6 +34,11 @@
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nixpkgs.config.cudaSupport = true;
|
nixpkgs.config.cudaSupport = true;
|
||||||
|
|
||||||
|
# Add cuda to system environment
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
cudatoolkit
|
||||||
|
];
|
||||||
|
|
||||||
# Use Prebuilt Cached Versions of CUDA Packages
|
# Use Prebuilt Cached Versions of CUDA Packages
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
substituters = [
|
substituters = [
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
./users/michael.nix
|
./users/michael.nix
|
||||||
./users/ryan.nix
|
./users/ryan.nix
|
||||||
./users/josh.nix
|
./users/josh.nix
|
||||||
|
./users/iffat.nix
|
||||||
|
|
||||||
# Groups
|
# Groups
|
||||||
./users/groups/admin.nix
|
./users/groups/admin.nix
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
users.users.iffat = {
|
||||||
|
isNormalUser = true;
|
||||||
|
extraGroups = [ ];
|
||||||
|
homeSize = "50g";
|
||||||
|
homeProjectId = 118;
|
||||||
|
packages = with pkgs; [
|
||||||
|
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue