add more games

This commit is contained in:
mehbark 2024-02-06 20:55:46 -05:00
parent 1cadf664d3
commit c848ec7236
3 changed files with 81 additions and 46 deletions

View file

@ -175,7 +175,8 @@ in
settings.PasswordAuthentication = true; settings.PasswordAuthentication = true;
}; };
networking.firewall.allowedTCPPorts = [ 22 ]; networking.firewall.allowedTCPPorts = [ 22 8384 22000 ];
networking.firewall.allowedUDPPorts = [ 22000 21027 ];
# services.emacs.enable = true; # services.emacs.enable = true;
# services.emacs.package = import /home/mbk/.emacs.d { pkgs = pkgs; }; # services.emacs.package = import /home/mbk/.emacs.d { pkgs = pkgs; };
@ -236,13 +237,21 @@ in
IdleActionSec=20s IdleActionSec=20s
'' else ""; '' else "";
# List services that you want to enable: services.syncthing = {
enable = true;
# Open ports in the firewall. user = "mbk";
# networking.firewall.allowedTCPPorts = [ ... ]; dataDir = "/home/mbk/Sync";
# networking.firewall.allowedUDPPorts = [ ... ]; configDir = "/home/mbk/.config/syncthing";
# Or disable the firewall altogether. settings.devices = {
# networking.firewall.enable = false; pixel-6 = { id = "2QJMXQD-OTLK5TM-KNIZUMA-HM3ISPI-7AVY4CG-EOHHYEV-2W5HUNN-DHXLRAJ"; };
};
settings.folders = {
Sync = {
path = "/home/mbk/Sync";
devices = [ "pixel-6" ];
};
};
};
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions

View file

@ -23,7 +23,11 @@ in
# lutris # lutris
# mono5 # mono5
nethack nethack
# chezmoi angband
brogue
cataclysm-dda
# not yet
# celeste64
# wineWowPackages.stable # wineWowPackages.stable
# winetricks # winetricks
# foliate # foliate
@ -41,6 +45,7 @@ in
ghc ghc
sbcl sbcl
chez chez
guile
racket racket
clojure clojure
ruby_3_3 ruby_3_3
@ -62,6 +67,7 @@ in
steam steam
gamemode gamemode
rare rare
slipstream
obs-studio obs-studio
# drm more like pooprm # drm more like pooprm
# might as well use a newer version # might as well use a newer version
@ -72,6 +78,8 @@ in
# yeah # yeah
audacious audacious
audacity audacity
ffmpeg
godot_4
akku akku
ripgrep ripgrep
@ -91,13 +99,14 @@ in
yt-dlp yt-dlp
qbittorrent qbittorrent
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
lmms lmms
helm helm
obsidian obsidian
#monaspace
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
lmmath
# glow and gum are a good example of something that should really be in a flake.nix or whatever # glow and gum are a good example of something that should really be in a flake.nix or whatever
] ++ more-packages; ] ++ more-packages;
@ -196,6 +205,7 @@ in
elixir-tools-nvim elixir-tools-nvim
#vim-rubocop #vim-rubocop
zig-vim zig-vim
vim-elixir
gruvbox gruvbox
]; ];
extraConfig = import ./nvim.conf.nix; extraConfig = import ./nvim.conf.nix;
@ -304,6 +314,7 @@ in
counsel counsel
gruvbox-theme gruvbox-theme
lsp-mode lsp-mode
# lean-mode
avy avy
consult consult
embark embark
@ -327,6 +338,7 @@ in
paredit paredit
rainbow-delimiters rainbow-delimiters
geiser-chez geiser-chez
geiser-guile
macrostep-geiser macrostep-geiser
evil evil
evil-leader evil-leader
@ -335,11 +347,22 @@ in
evil-commentary evil-commentary
evil-org evil-org
erc-hl-nicks erc-hl-nicks
elixir-mode
gcmh
slime
general
lispyville
]; ];
# apparently errors in the config matter? nvm? # apparently errors in the config matter? nvm?
extraConfig = builtins.readFile ./init.el; extraConfig = (import ./init.el.nix) pkgs;
}; };
programs.direnv.enable = true; programs.direnv.enable = true;
programs.direnv.nix-direnv.enable = true; programs.direnv.nix-direnv.enable = true;
# services.syncthing = {
# enable = true;
# tray.enable = true;
# };
} }

View file

@ -1,3 +1,5 @@
pkgs:
''
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; ;;;
;;; Basic settings for quick startup and convenience ;;; Basic settings for quick startup and convenience
@ -202,9 +204,9 @@ If the new path's directories does not exist, create them."
(setq mouse-wheel-flip-direction t) (setq mouse-wheel-flip-direction t)
;; We won't set these, but they're good to know about ;; We won't set these, but they're good to know about
;; ;; I will. Thanks!
;; (setq-default indent-tabs-mode nil) (setq-default indent-tabs-mode nil)
;; (setq-default tab-width 4) (setq-default tab-width 4)
;; Misc. UI tweaks ;; Misc. UI tweaks
(blink-cursor-mode -1) ; Steady cursor (blink-cursor-mode -1) ; Steady cursor
@ -305,8 +307,8 @@ If the new path's directories does not exist, create them."
;; (set-fringe-mode 'minimal) ;; (set-fringe-mode 'minimal)
;; (use-package general (use-package general
;; :ensure t) :ensure t)
(use-package lsp-mode (use-package lsp-mode
:ensure t) :ensure t)
@ -764,13 +766,13 @@ If the new path's directories does not exist, create them."
) )
; gsr ; gsr
(use-package geiser-chez ; (use-package geiser-chez
:ensure t ; :ensure t
:config ; :config
(setq geiser-active-implementations '(chez)) (setq geiser-active-implementations '(chez guile))
;(setq geiser-chez-binary "/usr/bin/chez") ;(setq geiser-chez-binary "/usr/bin/chez")
(setq geiser-repl-query-on-kill-p nil) (setq geiser-repl-query-on-kill-p nil)
) ; )
(use-package macrostep-geiser (use-package macrostep-geiser
:ensure t :ensure t
@ -792,25 +794,22 @@ If the new path's directories does not exist, create them."
;; :config ;; :config
;; ) ;; )
;; (use-package lispyville (use-package lispyville
;; :init :init
;; (general-add-hook '(emacs-lisp-mode-hook lisp-mode-hook scheme-mode-hook) #'lispyville-mode) (general-add-hook '(emacs-lisp-mode-hook lisp-mode-hook scheme-mode-hook) #'lispyville-mode)
;; :config) :config)
;; (use-package slime :ensure t (use-package slime :ensure t
;; :init :init
;; (setq slime-contribs '(slime-fancy) (setq slime-contribs '(slime-fancy)
;; slime-complete-symbol-function 'slime-fuzzy-complete-symbol slime-complete-symbol-function 'slime-fuzzy-complete-symbol
;; slime-net-coding-system 'utf-8-unix slime-net-coding-system 'utf-8-unix
;; slime-lisp-implementations '((ccl64 ("/usr/local/bin/ccl64")) slime-lisp-implementations '((sbcl ("${pkgs.sbcl}/bin/sbcl"))))
;; (sbcl ("/usr/local/bin/sbcl")) :config
;; (abcl ("/usr/local/bin/abcl")) (setq common-lisp-hyperspec-root "${pkgs.sbclPackages.hyperspec}/docs/"
;; (clisp ("/usr/local/bin/clisp")) ;common-lisp-hyperspec-symbol-table (concat common-lisp-hyperspec-root "Data/Map_Sym.txt")
;; (ccl ("/usr/local/bin/ccl")))) ;common-lisp-hyperspec-issuex-table (concat common-lisp-hyperspec-root "Data/Map_IssX.txt")
;; :config ))
;; (setq common-lisp-hyperspec-root "/usr/local/share/doc/hyperspec/HyperSpec/"
;; common-lisp-hyperspec-symbol-table (concat common-lisp-hyperspec-root "Data/Map_Sym.txt")
;; common-lisp-hyperspec-issuex-table (concat common-lisp-hyperspec-root "Data/Map_IssX.txt")))
;;; Emacs Bedrock ;;; Emacs Bedrock
;;; ;;;
@ -851,10 +850,12 @@ If the new path's directories does not exist, create them."
;; (interactive) ;; (interactive)
;; (find-file "~/.emacs.d/extras/scheme.el")) ;; (find-file "~/.emacs.d/extras/scheme.el"))
; emacs lisp really is a pain, but even this makes me appreciate the POWA ; emacs lisp really is a pain, but even this makes me appreciate the POWA
(defun scheme-set-up-two-panels-with-repl-and-editor () ; pretty unnecessary lel
(interactive) ; (defun scheme-set-up-two-panels-with-repl-and-editor ()
(geiser-chez) ; (interactive)
(geiser-mode)) ; (geiser ;needs-arg
; )
; (geiser-mode))
(defun join-libera.chat () (defun join-libera.chat ()
(interactive) (interactive)
@ -918,7 +919,8 @@ If the new path's directories does not exist, create them."
; si => scheme inferior (avoids conflicts) ; si => scheme inferior (avoids conflicts)
"sir" 'geiser-chez "sir" 'geiser-chez
"sil" 'geiser-load-file "sil" 'geiser-load-file
"sii" 'scheme-set-up-two-panels-with-repl-and-editor ; it's funny how you find the thing you really need eventually
"sii" 'geiser-repl-switch
; ss => scheme send ; ss => scheme send
"sss" 'geiser-eval-last-sexp "sss" 'geiser-eval-last-sexp
@ -1014,4 +1016,5 @@ If the new path's directories does not exist, create them."
; critical functionality ; critical functionality
(require 'zone) (require 'zone)
(setq zone-timer (run-with-idle-timer 120 t 'zone)) ;(setq zone-timer (run-with-idle-timer 120 t 'zone))
''