Compare commits
4 commits
d2237c0a12
...
6b795f7557
Author | SHA1 | Date | |
---|---|---|---|
6b795f7557 | |||
16bcd5e813 | |||
49c94bcd62 | |||
23e3c53693 |
6 changed files with 49 additions and 2 deletions
|
@ -46,6 +46,7 @@ in
|
||||||
nodejs_20
|
nodejs_20
|
||||||
qadwaitadecorations
|
qadwaitadecorations
|
||||||
kdePackages.qtwayland
|
kdePackages.qtwayland
|
||||||
|
copilot-node-server
|
||||||
]
|
]
|
||||||
++ (with hunspellDicts; [
|
++ (with hunspellDicts; [
|
||||||
en_US-large
|
en_US-large
|
||||||
|
|
|
@ -171,6 +171,13 @@
|
||||||
(indent-bars-prefer-character 't) ;; so it works also in terminal
|
(indent-bars-prefer-character 't) ;; so it works also in terminal
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(use-package copilot
|
||||||
|
:custom
|
||||||
|
(copilot-max-char -1)
|
||||||
|
(copilot-indent-offset-warning-disable 't)
|
||||||
|
:hook (prog-mode org-mode)
|
||||||
|
:bind (("C-<tab>" . copilot-accept-completion)))
|
||||||
|
|
||||||
(use-package diredfl
|
(use-package diredfl
|
||||||
:config (diredfl-global-mode))
|
:config (diredfl-global-mode))
|
||||||
|
|
||||||
|
@ -508,6 +515,15 @@
|
||||||
(eglot-ensure))))
|
(eglot-ensure))))
|
||||||
:mode "\\.py\\'")
|
:mode "\\.py\\'")
|
||||||
|
|
||||||
|
(use-package solidity-mode
|
||||||
|
:hook ((solidity-mode . (lambda ()
|
||||||
|
(require 'eglot)
|
||||||
|
(add-to-list 'eglot-server-programs
|
||||||
|
'(solidity-mode . ("nomicfoundation-solidity-language-server" "--stdio")))
|
||||||
|
(eglot-ensure))))
|
||||||
|
:mode "\\.sol\\'")
|
||||||
|
|
||||||
|
|
||||||
(use-package typescript-ts-mode
|
(use-package typescript-ts-mode
|
||||||
:hook ((typescript-ts-mode . (lambda ()
|
:hook ((typescript-ts-mode . (lambda ()
|
||||||
(require 'eglot)
|
(require 'eglot)
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
"paperless"
|
"paperless"
|
||||||
"syncthing"
|
"syncthing"
|
||||||
"atticd"
|
"atticd"
|
||||||
|
"jellyfin"
|
||||||
]
|
]
|
||||||
++ [
|
++ [
|
||||||
./disko.nix
|
./disko.nix
|
||||||
|
|
|
@ -14,8 +14,7 @@
|
||||||
"vpn.aciceri.dev"
|
"vpn.aciceri.dev"
|
||||||
"photos.aciceri.dev"
|
"photos.aciceri.dev"
|
||||||
"status.aciceri.dev"
|
"status.aciceri.dev"
|
||||||
"paper.aciceri.dev"
|
"jelly.aciceri.dev"
|
||||||
"cloud.aciceri.dev"
|
|
||||||
];
|
];
|
||||||
apiTokenFile = config.age.secrets.cloudflare-dyndns-api-token.path;
|
apiTokenFile = config.age.secrets.cloudflare-dyndns-api-token.path;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,7 +1,21 @@
|
||||||
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
services.jellyfin = {
|
services.jellyfin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.jellyfin.extraGroups = [ "transmission" ];
|
users.users.jellyfin.extraGroups = [ "transmission" ];
|
||||||
|
|
||||||
|
environment.persistence."/persist".directories = [
|
||||||
|
config.services.jellyfin.dataDir
|
||||||
|
];
|
||||||
|
|
||||||
|
services.nginx.virtualHosts = {
|
||||||
|
"jelly.aciceri.dev" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/".proxyPass = "http://127.0.0.1:8096";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,6 +44,22 @@ let
|
||||||
};
|
};
|
||||||
deps = [ elpaPackages.heap ];
|
deps = [ elpaPackages.heap ];
|
||||||
};
|
};
|
||||||
|
copilot = buildEmacsPackage {
|
||||||
|
name = "copilot";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "copilot-emacs";
|
||||||
|
repo = "copilot.el";
|
||||||
|
rev = "b7bff7b934837744688fd74191ecffb83b3bcc05";
|
||||||
|
hash = "sha256-MEsjXQIeiTI6NXN5rTW7HfFPC18IZnhAssma2BZa0ks=";
|
||||||
|
};
|
||||||
|
deps = with epkgs; [
|
||||||
|
s
|
||||||
|
dash
|
||||||
|
editorconfig
|
||||||
|
jsonrpc
|
||||||
|
f
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# *List* containing emacs packages from (M)ELPA
|
# *List* containing emacs packages from (M)ELPA
|
||||||
|
|
Loading…
Add table
Reference in a new issue