Merge branch 'master' of git.2li.ch:Nebucatnetzer/nixos

This commit is contained in:
Andreas Zweili 2022-09-15 22:13:39 +02:00
commit d4de8a2677
5 changed files with 11 additions and 1 deletions

View File

@ -96,7 +96,7 @@
homeConfigurations = {
"${custom.username}@co-ws-con4" = home-manager.lib.homeManagerConfiguration {
configuration = import "${inputs.self}/home-manager/work-wsl.nix";
system = "x86_64";
system = "x86_64-linux";
username = custom.username;
homeDirectory = "/home/${custom.username}";
extraSpecialArgs = {

View File

@ -23,6 +23,7 @@
python39Packages.flake8
python39Packages.jedi
python39Packages.pip
python39Packages.python-lsp-server
python39Packages.yapf
epkgs.ace-window
epkgs.amx
@ -62,6 +63,7 @@
epkgs.hydra
epkgs.know-your-http-well
epkgs.languagetool
epkgs.lsp-mode
epkgs.lv
epkgs.magit
epkgs.makey

View File

@ -0,0 +1,3 @@
(use-package lsp-mode
:config
(add-hook 'python-mode-hook #'lsp))

View File

@ -30,6 +30,7 @@
(load-file (modules-path "direnv.el"))
(load-file (modules-path "format_all.el"))
(load-file (modules-path "magit.el"))
(load-file (modules-path "languageserver.el"))
(load-file (modules-path "powershell.el"))
(load-file (modules-path "projectile.el"))
(load-file (modules-path "python.el"))

View File

@ -8,6 +8,7 @@
"$hostname"
"$directory"
"$nix_shell"
"$python"
"$git_branch"
"$git_status"
"$character"
@ -15,6 +16,9 @@
nix_shell = {
format = "$symbol";
};
python = {
format = "[$\{symbol\}($virtualenv) ]($style)";
};
};
enable = true;
};