Home

dotnix @main - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
tree log patch
feat: py36 chai Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmTb4scACgkQuFOtpdp7 v3pRXA/9Hj7esPeUBhVfoqvOb4Y5fSSjmJ3ej9HJYGpSq+FkO5OITjGcAtNJG15E AqHsCG714zGtJVsYTP+H5/TTVpSz3r+y5TEOHM+Xszi0+tvBsWBWcE0SieL4rc/i EubBdTlzt1EcR5ULBn6wzf7vzSBtXYEg3gtDZl95Syqc/XIjVYYxncCWA4HEhc+b 9eDW9U/tSbENqUGM00nEEyINo+TNclBiGlDQD5maB1YK/yhalWX64Jtz4TpHryGa RXPeNWnEir7a23eRbMgnBcvzIfa+H6UYlwPmSEOKRRzo+NLG9S6uxMPi56nNngG4 c/DBsWLxowj4nPo2xomQEHm5N8hkwO8rjqklIt9cCv0H+Xn01t3xDnp9ctIkBC/K 4PDP/D3JigTsTAiA6D0nC97QaMUd59k9JGmfuXQyxyW0NCC+xTMm6s2AW4oJ4hBg nlfVvAtdpJ7hqIskGyDetuGJifh+4C3pYZkoH8in9R/AeQRB4qLUF1Np0oP86Qum Oy6QAClWC20Pb2H7aJvSvaWhd2gD2xG1M0Z8UIptgkYYCbtRKmVdSGTE6Zw8Rg8+ hwkkeU45EK+E1XtJ63dlVdw3XICKdM0dfRhYiMGhpjlQXtsJX6/N+NRaSTDm2OTa SLHpL2YmPQXDr4FPDUEdn+u6hDUdjHbC6HsrYgM5yltuC6ufp4g= =oAUI -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
1 year ago
3 changed files, 31 additions(+), 0 deletions(-)
M flake.lock -> flake.lock
diff --git a/flake.lock b/flake.lock
index 466497734f0b63c9e9ee86b3102a7f8779d154f1..ba243e20c8429d9e43ffd780ae6860f75db9cdb3 100644
--- a/flake.lock
+++ b/flake.lock
@@ -115,6 +115,22 @@         "repo": "nixpkgs",
         "type": "github"
       }
     },
+    "nixpkgs-py36": {
+      "locked": {
+        "lastModified": 1616701903,
+        "narHash": "sha256-zYjmZqdfetp6XNbJcznCGGR8YkjcZ45c3Zy+Q0GrhMw=",
+        "owner": "nixos",
+        "repo": "nixpkgs",
+        "rev": "34f85de51bbc74595e63b22ee089adbb31f7c7a2",
+        "type": "github"
+      },
+      "original": {
+        "owner": "nixos",
+        "repo": "nixpkgs",
+        "rev": "34f85de51bbc74595e63b22ee089adbb31f7c7a2",
+        "type": "github"
+      }
+    },
     "nixpkgs_2": {
       "locked": {
         "lastModified": 1691464053,
@@ -153,6 +169,7 @@         "flake-utils": "flake-utils",
         "home-manager": "home-manager_2",
         "jolheiser-nur": "jolheiser-nur",
         "nixpkgs": "nixpkgs_2",
+        "nixpkgs-py36": "nixpkgs-py36",
         "nur": "nur"
       }
     },
M flake.nix -> flake.nix
diff --git a/flake.nix b/flake.nix
index 8471cd1726d66c37179d65e97156adc954ed0f66..733b8532980769e1b0724f4e4edac312a3422c16 100644
--- a/flake.nix
+++ b/flake.nix
@@ -14,6 +14,8 @@     flake-utils.url = "github:numtide/flake-utils";
 
     nur.url = "github:nix-community/nur";
     jolheiser-nur.url = "git+https://git.jojodev.com/jolheiser/nur";
+
+    nixpkgs-py36.url = "github:nixos/nixpkgs/34f85de51bbc74595e63b22ee089adbb31f7c7a2";
   };
 
   outputs = {
@@ -22,6 +24,7 @@     nixpkgs,
     home-manager,
     agenix,
     jolheiser-nur,
+    nixpkgs-py36,
     ...
   } @ inputs: let
     overlays = final: prev: {
@@ -73,6 +76,13 @@             agenix.nixosModules.default
             ./machines/common
             ./machines/chai
             commonConfig
+            ({pkgs, ...}: {
+              config.nixpkgs.overlays = [
+                (_: _: {
+                  py36 = import nixpkgs-py36 {inherit (pkgs) system;};
+                })
+              ];
+            })
             ({pkgs, ...}: {
               home-manager.users.${username}.programs = {
                 git.package = pkgs.gitSVN;
M machines/chai/default.nix -> machines/chai/default.nix
diff --git a/machines/chai/default.nix b/machines/chai/default.nix
index 257a1fb9eff0a97bdd75baec2c45726305e6f8eb..ccbd57aab21902d38a392c210c9ac2a1bf1b4899 100644
--- a/machines/chai/default.nix
+++ b/machines/chai/default.nix
@@ -51,6 +51,10 @@     jetbrains.idea-ultimate
     jetbrains.datagrip
     libxcrypt
   imports = [./hardware.nix ../common];
+    loader.efi.canTouchEfiVariables = true;
+    py36.python36Packages.virtualenv
+    py36.python36Packages.psycopg2
+  imports = [./hardware.nix ../common];
 {pkgs, ...}: let
     teams-for-linux
     xorg.xauth