a lot of shit

Signed-off-by: Alex Stan <alex.stan.2010@proton.me>
This commit is contained in:
Alex Stan 2024-08-26 22:34:37 +03:00
parent 29307f1d8a
commit 43482d60dd
4 changed files with 58 additions and 12 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@ hosts/titan/services/Sharkey/files
hosts/titan/services/Sharkey/db hosts/titan/services/Sharkey/db
hosts/titan/services/Sharkey/redis hosts/titan/services/Sharkey/redis
hosts/hypnos/services/Sharkey/* hosts/hypnos/services/Sharkey/*
users/ultra/#home.nix#

View file

@ -73,7 +73,7 @@ in {
printing.enable = true; printing.enable = true;
openssh.enable = true; openssh.enable = true;
guix = { guix = {
enable = true; enable = false;
stateDir = "/gnu/var"; stateDir = "/gnu/var";
gc = { gc = {
enable = true; enable = true;
@ -86,8 +86,6 @@ in {
}; };
qt.platformTheme = lib.mkForce "gnome"; qt.platformTheme = lib.mkForce "gnome";
# Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {
@ -114,9 +112,9 @@ in {
"dialout" "dialout"
]; ];
packages = with pkgs; [ packages = with pkgs; [
wezterm # wezterm
gradience gradience
gnome.gnome-tweaks gnome-tweaks
alacritty alacritty
dosbox dosbox
newsflash newsflash
@ -126,6 +124,10 @@ in {
floorp floorp
qFlipper qFlipper
remmina remmina
arduino-ide
prusa-slicer
solaar
niri
]; ];
shell = pkgs.zsh; shell = pkgs.zsh;
ignoreShellProgramCheck = true; # I configured zsh with home-manager ignoreShellProgramCheck = true; # I configured zsh with home-manager
@ -152,6 +154,7 @@ in {
gnomeExtensions.clipboard-indicator gnomeExtensions.clipboard-indicator
gnomeExtensions.gsconnect gnomeExtensions.gsconnect
gnomeExtensions.media-controls gnomeExtensions.media-controls
gnomeExtensions.solaar-extension
nerdfonts nerdfonts
everblush everblush
bibata-cursors bibata-cursors

View file

@ -3,6 +3,7 @@
(setq-default indent-tabs-mode nil) (setq-default indent-tabs-mode nil)
(setq-default tab-width 2) (setq-default tab-width 2)
(setq c-basic-offset indent)) (setq c-basic-offset indent))
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(load (expand-file-name "~/.quicklisp/slime-helper.el")) (load (expand-file-name "~/.quicklisp/slime-helper.el"))
(setq inferior-lisp-program "sbcl") (setq inferior-lisp-program "sbcl")
(defun font-size-to-height (size) (* 10 size)) (defun font-size-to-height (size) (* 10 size))
@ -18,7 +19,7 @@
; (load (expand-file-name "~/.emacs.d/everblush-theme.el")) ; (load (expand-file-name "~/.emacs.d/everblush-theme.el"))
(load-theme 'uwu) (load-theme 'uwu)
(if (window-system) (if (window-system)
(set-frame-size (selected-frame) 80 20)) (set-frame-size (selected-frame) 1000 800))
;; (add-hook 'c++-mode-hook 'irony-mode) ;; (add-hook 'c++-mode-hook 'irony-mode)
;; (add-hook 'c-mode-hook 'irony-mode) ;; (add-hook 'c-mode-hook 'irony-mode)
;; (add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options) ;; (add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options)
@ -26,7 +27,7 @@
;(push 'hotfuzz completion-styles) ;(push 'hotfuzz completion-styles)
(setq vertico-cycle nil) (setq vertico-cycle t)
(setq vertico-resize t) (setq vertico-resize t)
(keymap-global-set "C-j" #'vertico-next-group) (keymap-global-set "C-j" #'vertico-next-group)
(keymap-global-set "C-k" #'vertico-previous-group) (keymap-global-set "C-k" #'vertico-previous-group)
@ -115,7 +116,24 @@
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode) (add-hook 'prog-mode-hook 'rainbow-delimiters-mode)
(add-hook 'prog-mode-hoow 'rainbow-mode) (add-hook 'prog-mode-hook 'rainbow-mode)
(add-hook 'eshell-mode-hook #'esh-autosuggest-mode) (add-hook 'eshell-mode-hook #'esh-autosuggest-mode)
(define-key eshell-mode-map [remap eshell-pcomplete] 'helm-esh-pcomplete) ;(define-key eshell-mode-map [remap eshell-pcomplete] 'helm-esh-pcomplete)
(dashboard-setup-startup-hook)
(add-hook 'server-after-make-frame-hook #'dashboard-open)
(add-hook 'prog-mode-hook #'sublimity-mode)
(add-hook 'prog-mode-hook #'linum-relative-on)
(add-hook 'prog-mode-hook #'display-line-numbers-mode)
(setq completion-styles '(orderless basic)
completion-category-defaults nil
completion-category-overrides '((file (styles basic partial-completion))))
(setq pulsar-pulse t
pulsar-delay 0.055)

View file

@ -66,6 +66,13 @@ let
steam steam
zone-sl zone-sl
helm helm
dashboard
helpful
sublimity
workgroups2
linum-relative
pulsar
orderless
]; ];
}); });
helix = inputs.helix.packages.${pkgs.system}.default; helix = inputs.helix.packages.${pkgs.system}.default;
@ -260,12 +267,14 @@ in {
clang-tools clang-tools
#emacs-package #emacs-package
dino dino
cinny-desktop # cinny-desktop
(inputs.nix-inst.packages.${pkgs.system}.default) (inputs.nix-inst.packages.${pkgs.system}.default)
dotnet-runtime_6 dotnet-runtime_6
# dotnet-runtime_8
tea tea
thefuck thefuck
playerctl playerctl
# nyxt
]; ];
file = { file = {
"emacs.d/everblush-theme.el".source = ./configs/emacs/everblush-theme.el; "emacs.d/everblush-theme.el".source = ./configs/emacs/everblush-theme.el;
@ -312,7 +321,19 @@ in {
}; };
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [ "git" "thefuck" "history-substring-search" "fzf" ]; plugins = [
"git"
"thefuck"
"history-substring-search"
"fzf"
"npm"
"sudo"
"vscode"
"web-search"
"starship"
"git-auto-fetch"
"nmap"
];
theme = "cloud"; theme = "cloud";
}; };
history = { history = {
@ -321,8 +342,11 @@ in {
extended = true; extended = true;
}; };
initExtra = '' initExtra = ''
zmodload zsh/complist
zstyle ':completion:*' menu yes select
bindkey -M menuselect '?' history-incremental-search-forward
eval $(thefuck --alias) eval $(thefuck --alias)
eval $(starship init zsh) export PATH="$PATH:$HOME/.local/bin"
''; '';
zsh-abbr = { zsh-abbr = {
enable = true; enable = true;