Compare commits

..
2 Commits
Author SHA1 Message Date
marc 1b8db86a98 Doom emacs: use eglot LSP 2025-03-24 23:01:12 +01:00
marc e24078ec81 Moved nomad data files 2025-03-24 23:01:12 +01:00
11 changed files with 74 additions and 14 deletions

No files matched your search

+11 -11
View File
@@ -10,8 +10,8 @@
(setq display-line-numbers-type t)
;; Fonts
(setq doom-font (font-spec :family "Iosevka Nerd Font" :size 15))
(setq doom-symbol-font (font-spec :family "Iosevka Nerd Font" :size 15))
(setq doom-font (font-spec :family "Iosevka Nerd Font" :size 18))
(setq doom-symbol-font (font-spec :family "Iosevka Nerd Font" :size 18))
;; Themeing
;; (use-package base16-theme
@@ -74,14 +74,14 @@
;; -----------------------------------------------------------------------------
;; LSP
;; -----------------------------------------------------------------------------
(use-package lsp-mode
:init
:hook (;;
(clojure-mode . lsp-deferred)
(python-mode . lsp-deferred)
;; if you want which-key integration
(lsp-mode . lsp-enable-which-key-integration))
:commands (lsp lsp-deferred))
;; (use-package lsp-mode
;; :init
;; :hook (;;
;; (clojure-mode . lsp-deferred)
;; (python-mode . lsp-deferred)
;; ;; if you want which-key integration
;; (lsp-mode . lsp-enable-which-key-integration))
;; :commands (lsp lsp-deferred))
;; -----------------------------------------------------------------------------
@@ -109,7 +109,7 @@
;; -----------------------------------------------------------------------------
;; Web (HTML + CSS)
;; -----------------------------------------------------------------------------
(use-package! lsp-tailwindcss)
;; (use-package! lsp-tailwindcss)
;; -----------------------------------------------------------------------------
;; Org
+2 -3
View File
@@ -94,7 +94,7 @@
(eval +overlay) ; run code, run (also, repls)
;;gist ; interacting with github gists
lookup ; navigate your code and its documentation
lsp
(lsp +eglot)
magit ; a git porcelain for Emacs
;;make ; run make tasks from Emacs
;;pass ; password manager for nerds
@@ -155,8 +155,7 @@
;;plantuml ; diagrams for confusing people more
;;purescript ; javascript, but functional
(python
+lsp
+pyright) ; beautiful is better than ugly
+lsp) ; beautiful is better than ugly
;;qt ; the 'cutest' gui framework ever
;;racket ; a DSL for DSLs
;;raku ; the artist formerly known as perl6
+61
View File
@@ -0,0 +1,61 @@
job "folkugat" {
region = "global"
datacenters = ["samfelag"]
type = "service"
group "folkugat" {
count = 1
restart {
attempts = 5
delay = "15s"
}
network {
port "http" {
to = 80
}
}
# Volumes
volume "folkugat" {
type = "host"
read_only = false
source = "folkugat"
}
# FOLKUGAT WEB
task "folkugat" {
driver = "docker"
env {
JWT_SECRET = "12345"
ADMIN_PASSWORD = "banshee"
DB_DIR = "/folkugat/db"
}
config {
image = "marc.sastre.cat/folkugat-web:latest"
ports = ["http"]
}
volume_mount {
volume = "folkugat"
destination = "/folkugat/db"
read_only = false
}
resources {
cpu = 100
memory = 128
}
service {
name = "folkugat"
port = "http"
}
}
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.