Various changes in home-config

This commit is contained in:
m3tam3re 2023-02-01 12:38:23 +01:00
parent 870fc6a73b
commit f7c149b4b8
26 changed files with 296 additions and 15 deletions

View File

@ -16,6 +16,7 @@
direnv direnv
exa exa
fd fd
htop
httpie httpie
jq jq
nixfmt nixfmt
@ -25,5 +26,8 @@
tldr tldr
trash-cli trash-cli
tree tree
unrar
unzip
zip
]; ];
} }

View File

@ -0,0 +1,24 @@
{ config, lib, pkgs, ... }:
with lib;
let cfg = config.features.cli.secrets;
in {
options.features.cli.secrets.enable = mkEnableOption "enable secrets";
config = mkIf cfg.enable {
programs.password-store = {
enable = true;
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
};
programs.gpg = { enable = true; };
services.gpg-agent = {
enable = true;
defaultCacheTtl = 1800;
enableSshSupport = true;
};
};
}

View File

@ -0,0 +1,103 @@
{ pkgs, ... }: {
services.emacs.anable = true;
programs.emacs = { # 310
enable = true;
extraPackages = epkgs: [
epkgs.all-the-icons
epkgs.all-the-icons-dired
epkgs.calfw
epkgs.calfw-org
epkgs.calfw-ical
epkgs.command-log-mode
epkgs.company
epkgs.company-box
epkgs.consult
epkgs.counsel
epkgs.counsel-projectile
epkgs.consult-org-roam
epkgs.dart-mode
epkgs.dashboard
epkgs.deft
epkgs.dired-hide-dotfiles
epkgs.dired-open
epkgs.dired-single
epkgs.direnv
epkgs.docker
epkgs.docker-compose-mode
epkgs.dockerfile-mode
epkgs.docker-tramp
epkgs.doom-themes
epkgs.doom-modeline
epkgs.elfeed
epkgs.elfeed-web
epkgs.elfeed-tube
epkgs.elfeed-tube-mpv
epkgs.elfeed-org
epkgs.embark
epkgs.embark-consult
epkgs.emmet-mode
epkgs.envrc
# epkgs.eterm-256color
epkgs.evil
epkgs.evil-collection
epkgs.evil-nerd-commenter
epkgs.exec-path-from-shell
epkgs.forge
epkgs.general
epkgs.go-mode
epkgs.graphql-mode
epkgs.helpful
epkgs.helm
epkgs.helm-lsp
epkgs.helm-descbinds
epkgs.helm-rg
epkgs.highlight-indent-guides
epkgs.hydra
epkgs.ivy
epkgs.ivy-prescient
epkgs.ivy-rich
epkgs.json-mode
#epkgs.khalel
epkgs.lispy
epkgs.lsp-dart
epkgs.lsp-ivy
epkgs.lsp-mode
epkgs.lsp-ui
epkgs.lsp-treemacs
epkgs.magit
epkgs.marginalia
epkgs.mastodon
epkgs.mermaid-mode
epkgs.nix-mode
epkgs.no-littering
epkgs.ob-mermaid
epkgs.org
epkgs.org-auto-tangle
epkgs.org-bullets
epkgs.org-download
epkgs.org-gcal
epkgs.org-ql
epkgs.org-roam
epkgs.org-roam-ui
epkgs.pass
epkgs.pdf-tools
epkgs.projectile
epkgs.pyenv-mode
epkgs.python-mode
epkgs.rainbow-delimiters
epkgs.request
epkgs.rustic
epkgs.smartparens
epkgs.svelte-mode
epkgs.todoist
epkgs.typescript-mode
epkgs.use-package
epkgs.visual-fill-column
epkgs.vue-mode
epkgs.vterm
epkgs.web-mode
epkgs.which-key
epkgs.zetteldeft
];
};
}

View File

@ -0,0 +1,6 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
gopls
];
}

View File

@ -0,0 +1,10 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
appimage-run
deloy-rs
nil
nix-prefetch-git
nixfmt
];
}

View File

@ -0,0 +1,8 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
nodejs
nodePackages.mermaid-cli
nodePackages.svelte-language-server
];
}

View File

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
rustup
rust-analyzer
];
}

View File

@ -0,0 +1,9 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
direnv
insomnia
hugo
shopify-cli
];
}

View File

@ -0,0 +1,9 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
bisq-desktop
monero-gui
trezord
trezor-suite
];
}

View File

@ -39,14 +39,19 @@
gnome.fileroller gnome.fileroller
gnome.seahorse gnome.seahorse
gnome.vinagre gnome.vinagre
gsettings-desktop-schemas
libnotify libnotify
lxappearance lxappearance
nyxt nyxt
pasystray pasystray
pavucontrol pavucontrol
picom picom
qt5-ct
rustdesk
unrar unrar
unzip unzip
usbutils
v4l-utils
variety variety
xclip xclip
xdg-utils xdg-utils

View File

@ -0,0 +1,14 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
argyllcms
darktable
gimp-with-plugins
gimpPlugins.gmic
gmic
gmic-qt
imagemagick
inkscape
lcms2
];
}

View File

@ -10,6 +10,7 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = with pkgs; [ home.packages = with pkgs; [
emacs-all-the-icons-fonts
fira-code fira-code
fira-code-symbols fira-code-symbols
font-manager font-manager

View File

@ -0,0 +1,19 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
betterdiscordctl
davinci-resolve
discord
element-desktop
ffmpeg
freetube
gphoto2
handbrake
makemkv
mpv
obs-studio
plexamp
vlc
youtube-dl
];
}

View File

@ -0,0 +1,10 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
libreoffice
neomutt
tutanota-desktop
okular
zathura
];
}

View File

@ -9,7 +9,9 @@
gamescope gamescope
goverlay goverlay
mangohud mangohud
protontricks
protonup-ng protonup-ng
winetricks
]; ];
programs.gamemode.enable = true; programs.gamemode.enable = true;

View File

@ -6,7 +6,7 @@ let cfg = config.features.gaming.steam;
in { in {
options.features.gaming.sunshine.enable = mkEnableOption "enable Steam"; options.features.gaming.sunshine.enable = mkEnableOption "enable Sunshine";
config = mkIf cfg.enable { config = mkIf cfg.enable {

View File

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
lm_sensors
powertop
];
}

View File

@ -0,0 +1,6 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
i2p
];
}

View File

@ -0,0 +1,4 @@
{ pkgs, ... }: {
home.packages = with pkgs; [ syncthingtray-minimal ];
services.syncthing = { enable = true; };
}

View File

@ -0,0 +1,4 @@
imports = [
./podman.nix
./qemu.nix
];

View File

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
virt-manager
virtiofsd
];
}

View File

@ -4,7 +4,12 @@ let
in { in {
programs = { programs = {
home-manager.enable = true; home-manager.enable = true;
git.enable = true; git = {
userName = "m3tam3re";
userEmail = "m@m3tam3re.com";
aliases = { st = "status"; };
};
}; };
home = { home = {

View File

@ -3,6 +3,15 @@
image = "docker.io/baserow/baserow:1.14.0"; image = "docker.io/baserow/baserow:1.14.0";
environment = { environment = {
BASEROW_PUBLIC_URL = "https://db.lanakk.com"; BASEROW_PUBLIC_URL = "https://db.lanakk.com";
POSTGRES_USER = "baserow";
POSTGRES_PASSWORD = "baserow";
POSTGRES_DB = "baserow";
DATABASE_HOST = "postgres";
DATABASE_NAME = "baserow";
DATABASE_USER = "baserow";
DATABASE_PASSWORD = "baserow";
EMAIL_SMTP = "in-v3.mailjet.com"; EMAIL_SMTP = "in-v3.mailjet.com";
EMAIL_SMTP_HOST = "in-v3.mailjet.com"; EMAIL_SMTP_HOST = "in-v3.mailjet.com";
EMAIL_SMTP_PORT = "587"; EMAIL_SMTP_PORT = "587";

View File

@ -2,6 +2,7 @@
imports = [ imports = [
./container.nix ./container.nix
./gitea.nix ./gitea.nix
./mysql.nix
./n8n.nix ./n8n.nix
./postgres.nix ./postgres.nix
./traefik.nix ./traefik.nix

View File

@ -0,0 +1,7 @@
{ pkgs, config, ... }:
{
services.mysql = {
enable = true;
package = pkgs.mariadb;
}