Begin work on nixdeploys; alter emacs config to point 2 py3
This commit is contained in:
parent
3704648532
commit
db127c795c
@ -131,7 +131,7 @@
|
||||
;; --------------------------------------
|
||||
|
||||
(elpy-enable)
|
||||
(setq python-shell-interpreter "python"
|
||||
(setq python-shell-interpreter "python3"
|
||||
python-shell-interpreter-args "-i")
|
||||
|
||||
;; use flycheck not flymake with elpy
|
||||
|
34
deployments/nixDeploy/nix.py
Normal file
34
deployments/nixDeploy/nix.py
Normal file
@ -0,0 +1,34 @@
|
||||
import os
|
||||
import sys
|
||||
import argparse
|
||||
import subprocess
|
||||
import pdb
|
||||
|
||||
reposToAdd = "ppa:nextcloud-devs/client"
|
||||
|
||||
aptProgramsToAdd = [
|
||||
"powershell",
|
||||
"emacs",
|
||||
"python3.7",
|
||||
"firefox",
|
||||
"dropbox",
|
||||
"docker",
|
||||
"nextcloud-client"
|
||||
]
|
||||
snapProgramsToAdd = [
|
||||
"slack",
|
||||
"discord",
|
||||
]
|
||||
|
||||
subprocess.run('sudo apt add-repo ' + reposToAdd)
|
||||
print("adding repos")
|
||||
|
||||
subprocess.run('sudo apt update')
|
||||
print("updating apt")
|
||||
|
||||
subprocess.run('sudo apt-get install ' + aptProgramsToAdd)
|
||||
print("installing apt packages")
|
||||
|
||||
subprocess.run('sudo snap install ' + snapProgramsToAdd)
|
||||
print("installing snap packages")
|
||||
|
Loading…
Reference in New Issue
Block a user